Attached is a bundle of sample PowerCLI scripts, some advanced and some basic.
For more explanation of what's there, see my Workshop Presentation (you can also download it).
Nice job. Thanks!