Table of Contents

ESXi 5.x CLI

For a complete list of all esxcli command enter:

esxcli esxcli command list

List of cli commands from virten.net.





Examples:

List Versions

esxcli system version get

Get Hostname

esxcli system hostname get 

List IP Interfaces

esxcli network ip interface ipv4 get

List all Datastores

esxcli storage filesystem list

or

esxcli storage vmfs extent list

Register existing VM

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

List all VMs

vim-cmd vmsvc/getallvms

or

esxcli vm process list

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

List IPMI Devices

esxcli hardware ipmi sdr list


Authors:
  • Jochen Schnürle