This is an old revision of the document!


ESXi 5.x CLI

List all Datastores

 

Register existing VM

vim-cmd solo/registervm /vmfs/volumes/xxxxxxx/vmname/vmname.vmx

List all VMs

vim-cmd vmsvc/getallvms

Power On VM

vim-cmd vmsvc/power.on <id>

Get Power Status

vim-cmd vmsvc/power.getstate <id>

Get DNS Servers

esxcli network ip dns server list