PowerShell
If you are not running windows 2008/Windows 7 and don't have PowerShell (Posh) installed then go get it from Microsoft's PowerShell landing page It is nowadays also offered via Windows Update as an optional update. Then in order to manage your virtual infrastructure you will need the VI Toolkit for windows.
Learning VI-Toolkit Powershell
- Powershell CMDLET list (thank you Alan Renouf for the idea and initial work)
PowerCLI Oneliners
- PowerCLI Oneliners: Statistics
- PowerCLI Oneliners: Events
- PowerCLI Oneliners: Host Configuration
- PowerCLI Oneliners: VM Configuration
- PowerCLI Oneliners: Storage
Scripts on other locations
- Add/Remove active directory user accounts who belong to a particular security group on all ESX hosts