This is an old revision of the document!
vim-cmd solo/registervm path_to_vmx_file
vim-cmd vmsvc/unregister vmid
vim-cmd vmsvc/destroy vmid
Get a listing of VMs on a host esxcli vm process list vim-cmd vmsvc/getallvms
Determine if a VM has a snapshot vim-cmd vmsvc/get.snapshot vmid
Take a snapshot of a VM vim-cmd vmsvc/snapshot.create vmid snapshot_name
Remove a snapshot of a VM vim-cmd vmsvc/snapshot.remove vmid
Get the current power state of a VM vim-cmd vmsvc/power.getstate vmid
Get the uptime for a VM vim-cmd vmsvc/get.summary vmid |grep uptimeSeconds
Power on a VM vim-cmd vmsvc/power.on vmid
Shutdown a VM vim-cmd vmsvc/power.shutdown vmid
Power off a VM esxcli vm process kill –w world_id vim-cmd vmsvc/power.off vmid
Reboot a VM vim-cmd vmsvc/power.reboot vmid
Reset a VM vim-cmd vmsvc/power.reset vmid
Upgrade VMware Tools in a VM vim-cmd vmsvc/tools.upgrade vmid
Display the IP address of a VM vim-cmd vmsvc/get.guest vmid |grep -m 1 “ipAddress = \”“