Using ESXCLI for Host Management
Last Updated December 16, 2024

You can manage many aspects of an
ESXi
host by using commands from the ESXCLI command set. You can run ESXCLI commands remotely, or run them in the
ESXi Shell
in troubleshooting situations.
You can also run ESXCLI commands from the PowerCLI shell by using the
Get-EsxCli
cmdlet. See the
PowerCLI User's Guide
and the
PowerCLI Cmdlet Reference
.
The set of ESXCLI commands that are available on a host depends on the host configuration. The
ESXCLI Reference
lists help information for all ESXCLI commands. You can run
esxcli --server <
MyESXi
> --help
before you run a command on a host to make sure that the command is defined on the host that you are targeting.