VMware : Basic ESXi commands

By | August 25, 2016

You will find below some basic and useful commands to operate a ESXi hypervisor from the command line.

Put the host in maintenance mode (or leave maintenance mode) :

List all VMs registered on the host :

Verify the power state of a specific VM :

Power on a specific VM :

Backup the host configuration :

Restore backup configuration to the host (have to be in maintenance mode) :

Show the VMkernel networks on the host :

EXTRA : For any “esxcli” commands, you can run the following to run the command to a remote host (such as from vCenter/PowerCLI) :




Be Sociable, Share!