Kill and VM from the Command Line

If you need to kill a guest VM via the command line, use the vmware-cmd command.

"vmware-cmd /<path to VM directory>/server.vmx stop"
"vmware-cmd -l" will get you your virtual machines names and config file locations

If that does not work you can take more drastic measures and kill the VM process itself.
ps -ef | grep <virtualmachinename>
kill -9 <pid>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s