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
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.
On Windows, the extension .pl is required for vicfg- commands, but not for ESXCLI.
<command>.pl <conn_options> <params>
For example: - -server my_esxhost - -list
The system prompts you for a user name and password.
Uninstalling the vCLI Package on Windows
You can uninstall the vCLI package as you would other programs.
To uninstall vCLI on Windows
In the panel that appears, select VMware vSphere CLI, and click Remove.
Click Yes when prompted.
The system uninstalls the vSphere SDK for Perl, the vCLI, and all prerequisite software.