Hello.
Prompt please how from cli(ssh) to remove all snapsots on all VMs (ESX 3x) ?
You can run a vmware-cmd against the vm's and remove them using a loop.
cd /vmfs/volumes/<datastore_name>
for $vm in `ls -1`
do
vmware-cmd /vmfs/volumes/<datastore_name>/$vm/$vm.vmx removesnapshots
done
Message was edited by: kjb007 : fixed code
Thanks for your answer.
But PoweShell does not approach. Only local ESX console (this script run by cron).
You can run a vmware-cmd against the vm's and remove them using a loop.
cd /vmfs/volumes/<datastore_name>
for $vm in `ls -1`
do
vmware-cmd /vmfs/volumes/<datastore_name>/$vm/$vm.vmx removesnapshots
done
Message was edited by: kjb007 : fixed code
Thanks !