Running Commands on Windows
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.
To run a vCLI command on Windows
1
From the Windows Start menu, choose Programs > VMware > VMware vSphere CLI > Command Prompt.
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.
2
On Windows, the extension .pl is required for vicfg- commands, but not for ESXCLI.
<command>.pl <conn_options> <params>
For example:
esxcli --server <server> --username “snow-white” --password “dwarf$” network ip interface list
vicfg-mpath.pl - -server <server> - -username “snow-white” - -password “dwarf$” --list
The system prompts you for a user name and password.
See vCLI Connection Options for a complete list of connection options.
Uninstalling the vCLI Package on Windows
You can uninstall the vCLI package as you would other programs.
To uninstall vCLI on Windows
1
2
In the panel that appears, select VMware vSphere CLI, and click Remove.
3
Click Yes when prompted.
The system uninstalls the vSphere SDK for Perl, the vCLI, and all prerequisite software.