Starting and Stopping VMs from the command line in ESX

Posted by Admin on November 24, 2008
Personal

The command is: vmware-cmd

So start of by running that to see what your options are, or even you can man vmware-cmd.

OK, so now the juicy stuff:

vmware-cmd /<path to VM directory>/server.vmx getstate
vmware-cmd /<path to VM directory>/server.vmx start
vmware-cmd /<path to VM directory>/server.vmx stop
vmware-cmd /<path to VM directory>/server.vmx stop hard

You get the idea 🙂

Comments are closed.