JT's Blog

JT's little piece of the internet.

Nov-24-2008

Starting and Stopping VMs from the command line in ESX

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 🙂

Posted under Personal

Add A Comment

*