Hi,
I am looking to script evacuating all VMs on a host to other hosts in a DRS cluster, and enter maintenance mode just like the vsphere client does. I have looked at hostops.pl and hostevacuate.pl, but they dont do this. has anyone scripted this? i was looking at EnterMaintenanceMode, and there is an evacuatepoweroffVMs property, but that is only for powered of VMs? any idea how to do this