Vmware CLI Commands

The world of VMware is so cool.  Sometime though you need access under the covers to do various tasks.

VMWare has a hole load of command at the Linux level.  Be warned these can do some nasty things so be very careful.

SSH on to the VMware server.  If you don’t have SSH access download the Veam Root Access that will allows SSH access the server.

A list of commands these are for v3.5 only:

vmware-cmd is the command to runn followed by many commands, the list is the ones that I have used

vmware-cmd -l     – shows all the virtual machines running and the vmx file locations

vmware-cmd /path to vmx file   getstate – returns the state of the guest

vmware-cmd /path to vmx file   stop –  powers the guest down

vmware-cmd /path to vmx file   stop hard – as stop except dumps the server

vmware-cmd /path to vmx file   start

vmware-cmd /path to vmx file   reset

vdf -h – will show the disk usage of the virtual guests

Commands for vsphere4 :

Will be here in a few days

One Comment on “Vmware CLI Commands”

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s