VMware vSphere PowerCLI 5.0
https://my.vmware.com/web/vmware/details?downloadGroup=PCLI50&productId=229 Here is a great book : VMware vSphere PowerCLI Reference: Automating vSphere Administration http://www.amazon.com/VMware-vSphere-PowerCLI-Reference-Administration/dp/0470890797