From time to time I have to reboot my ESX server. Although I have configured auto-start and shutdown options, I...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
have found it sometimes takes a long time to shutdown the VMs. Very often I have found it quicker to manually shutdown the VMs and then reboot. This script below allows this using vmware-cmd and the trysoft command (which tries a soft power shutdown, followed by a hard shutdown if that is unsuccessful)
for vm in ‘vmware-cmd -l’
vmware-cmd “$vm” trysoft