Installing and Uninstalling vCLI on Windows

Steven · 2021-11-21 22:35 · 110 views · Vmware · old id 103

Before you can run vCLI commands from your Windows system, you must install the vCLI package and test the installation by running a command.
The vCLI installation package for Windows includes the ActivePerl runtime from ActiveState Software and required Perl modules and libraries. The vCLI is supported on the Windows platforms that are listed in the Release Notes.
Important If you want to run ESXCLI commands included in vCLI from a Windows system, you must have the Visual C++ 2008 redistributable for 32 bit installed on that system. Find vcredist_x86.exe for Visual C++ 2008 and install it on your Windows system.

To install the vCLI Package on Windows


1

Download the vCLI Windows installer package.

You can find the installer in the Automation Tools and SDKs section of the Drivers & Tools tab of the vSphere download page.
2
Start the installer.
3
(Optional) If prompted to remove older versions of vSphere SDK for Perl or vCLI, you can either accept or cancel the installation, and install the vCLI package on a different system.
Important The installer replaces both the vSphere SDK for Perl and vCLI. To keep an older version, install this package on a different system.
4
Click Next in the Welcome page.
5
To install the vCLI in a nondefault directory, click Change and select the directory.
The default location is C:\Program Files\VMware\VMware vSphere CLI.
6
Click Next.
7
Click Install to proceed with the installation.
The installation might take several minutes to complete.
8
Reboot your system.

Without reboot, path settings might not be correct on your Windows platform.



Uninstalling the vCLI Package on Windows
You can uninstall the vCLI package as you would other programs.
To uninstall vCLI on Windows
1
Find the option for adding and removing programs on the Windows operating system you are using.
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.

← Back to home