Run Host Management
Commands from a Windows System
After you install
vCLI and reboot your system, you can test the installation by running a vCLI or
SDK for Perl command from the Windows command prompt.
- From the Windows Start menu, choose.A command prompt shell for the location where vCLI is installed appears. You have easy access to vCLI and to vSphere SDK for Perl commands from that location.
- Run the command, passing in connection options and other options.On Windows, the extension.plis required forvicfg-commands, but not for ESXCLI.<command>.pl <conn_options> <params>The following examples show the difference between ESXCLI andvicfg-syntax.esxcli --server <esxi_HOSTNAME_OR_IP> --username "snow-white" --password "dwarf$" network ip interface listvicfg-mpath.pl --server <esxi_HOSTNAME_OR_IP> --username "snow-white" --password "dwarf$" --listThe system prompts you for a user name and password.