Startup/Shutdown Script for vmWare

From KlavoWiki
Jump to navigationJump to search

To stop all virtual machines run the following command:

find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} stop \;

To start all virtual machines run the following command:

find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} start \;