You can run ESXCLI commands in the ESXi Shell unless they are marked as internal in the online help.

The ESXi Shell is disabled by default. You must enable the ESXi Shell before you can run commands in the shell. See ESXi Shell Access with the Direct Console.

Verify that the ESXi Shell is enabled.


Log in to the shell.


Run the command.

For example, to list NFS storage devices, run the following command.

esxcli storage nfs list

You can use --help at any level of esxcli for help on available namespaces, commands, or options.