List VMs in ESX 5.1

To get a description of all the vms on an ESX 5.1 box use the following: ~ # vim-cmd vmsvc/getallvms | grep vmx | awk '{ print $2 }'