This document provides examples of using PowerCLI and PowerShell scripts to automate common VMware vSphere administration tasks. It begins with a basic example of retrieving VM names. It then discusses a real-world scenario where a manager requests regular reporting on VM resources. The author demonstrates using the GUI initially but finds it limiting. He develops PowerShell scripts to generate the requested report, formatting the output for readability and excluding test VMs. The document also provides a script for identifying aging snapshots to help manage datastore space. It encourages documenting and organizing one-liner scripts to solve common problems.