# How to install VMware PowerCLI offline

Download the PowerCLI package from and save the ZIP file on your PC\
<https://developer.vmware.com/web/tool/vmware-powercli>

Select the desired version from the drop-down menu, in most cases you will select the most recent version.

<figure><img src="https://1698785090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHt7y5a2GjJdHqd7hhajt%2Fuploads%2FO6j4Tj1XAlQwEKSMwrqW%2FPowerCLI.png?alt=media&#x26;token=e4dd4051-69e8-4398-a266-17870c2e49c1" alt=""><figcaption></figcaption></figure>

Extract the content of the ZIP file to a directory on your PC.

To install PowerCLI you have to determine the PowerShell Module Paths

```powershell
PS D:\scripts\Powershell> $env:PSModulePath

C:\Users\f_backup\Documents\WindowsPowerShell\Modules;
C:\Program Files\WindowsPowerShell\Modules;
C:\Windows\system32\WindowsPowerShell\v1.0\Modules
```

Copy the extracted contect of the ZIP file to one of these directories, e.g. \
`C:\Program Files\WindowsPowerShell\Modules`

Unblock the new files in Powershell with the following command:\
`Get-ChildItem -Path 'C:\Program Files\WindowsPowerShell\Modules' -Recurse | Unblock-File`

Check if PowerCLI is active\
`Get-Module -Name VMware.PowerCLI* -ListAvailable`

You will get an output like this:

```
     Directory: C:\Program Files\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands                                                                                                                                                                                       
---------- -------    ----                                ----------------                                                                                                                                                                                       
Manifest   13.0.0.... VMware.PowerCLI                                                                                                                                                                                                                            
Script     12.6.0.... VMware.PowerCLI.Sdk                                                                                                                                                                                                                        
Script     12.6.0.... VMware.PowerCLI.Sdk.Types                                                                                                                                                                                                                  
Script     12.6.0.... VMware.PowerCLI.VCenter             {Get-VIMachineCertificate, Get-VITrustedCertificate, Remove-VITrustedCertificate, New-VIMachineCertificateSigningRequest...}                                                                           
Script     12.6.0.... VMware.PowerCLI.VCenter.Types.Ap...                                                                                                                                                                                                        
Script     12.6.0.... VMware.PowerCLI.VCenter.Types.Ce...  

```
