From the ESX console, run the following command
vmware-cmd -l | while read vmxpath; do vmware-cmd $vmxpath removesnapshots;done
This gets a list of the VMS, for each item returned, pass in the path through the variable $vmxpath and run the removesnapshots command.
No comments:
Post a Comment