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.

Prerequisites

Verify that the ESXi Shell is enabled.

Procedure

  1. Log in to the shell.
  2. Run the command.
    For example, to list NFS storage devices, run the following command.
    esxcli storage nfs list

What to do next

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