PowerCLI has been increasingly popular due to the need to automate larger vSphere environments. This section, more than most on the VCAP-DCA blueprint is one where you have to know what you’re doing – writing code can’t be done in theory, you have to get stuck in and play with it.
The main references for this section are the VMware PowerCLI homepage and the VMware PowerCLI Administration guide. PowerCLI has received extensive blog coverage from numerous people far more experienced than me – check out Virtu-Al, Luc Dekkens, Hal Rottenberg or Jonathan Medd’s blogs for more info than you can handle….
Installing PowerCLI
PowerCLI is simply an extension to Microsoft’s Powershell environment so installation consists of installing Powershell (it’s built into Windows 2008 onwards) and then adding PowerCLI;
Client requirements:
- WinXP SP2, Win2k3 or greater
- 32 or 64 bit
- .NET framework v2.0 SP1 (or greater)
- Powershell v1 or v2
Server requirements:
- ESX or ESXi v3.0, vCentre 2.01 (or greater)