Reboot VM and Wait for VMWare Tools

Changed a couple issues found with this original solution: https://code.vmware.com/samples/1143/reboot-guest-os-on-vsphere-vm-and-wait-#code

First, the enum constant is no longer valid in vRO 8.x.  Second, it was only half the solution.  It waited until the VM shutdown.  This solution also waits until the VM starts back up by checking VMware Tools.

 

-Jim


Sign in to be able to add comments.

Comments 0