After installation, you can run ESXCLI
commands from the command prompt.
Procedure
-
Open a command
prompt.
- (Optional)
Change to the ESXCLI installation directory.
The default directory is
/opt/vmware/esxcli.
-
Run the command,
including the connection options.
<command> <conn_options> <params>
Specify connection options in a
configuration file or pass them on the command
line.
esxcli --server <vc_hostname_or_IP> --username snow\-white --password dwarf\$ network ip interface list
The system
prompts you for a user name and password for the target server.