Are there any scripts that will shutdown vsphere 4 vms and hosts? We have a Liebert UPS and I want to be able to issue commands from the console of the Liebert server that will gracefully shutdown the vms and then shutdown the vsphere host.
check this out: http://www.virtu-al.net/2010/01/06/powercli-shutdown-your-virtual-infrastructure/