📑
Joe's Notes and Links
  • About this site
  • About me
    • Links
    • Awards & Certifications
      • Veeam
      • Kasten
      • AWS
      • Other
      • Planned Certifications
  • Backup Theory
    • Basics Articles
      • I - Why Snapshots Are Not Backups: Understanding the Crucial Differences
      • II - Why Replication is not Backup: Understanding the Differences
      • III - Backup Best Practices: Building a Robust Data Protection Solution
      • IV - Understanding Backup Strategies: Full, Incremental, and Differential Backups
      • V - Understanding RPO and RTO
      • VI - Versioning and Retention Policies: The Backbone of Data Protection Solutions
      • VII - Implementing Backup Scheduling for Optimal Data Protection
      • VIII - Data Classification: A Crucial Pillar in Effective Backup and Recovery Strategies
      • IX - Extending Backup Measurements - Understanding RTO and RTA
    • Terminology
  • Backup Products
    • Veeam
      • Veeam Legends VBR Pocketbook V1
      • PostgreSQL
      • Powershell Scripting (Veeam specific)
        • How to automate Veeam Backup and Replication Global Exclusion Lists
        • Get Result of Backups for one VM for a Year
        • Multitag Jobs
      • Backup & Replication
        • Error "Failed to upgrade host components. Error: 'Minimum supported OS version for Veeam VSS..."
        • [Changed in V11] - Handling of exported and orphaned backups
        • [New in V12] - 2FA Login is not available with expired license
        • Quick Backup of a VM associated to multiple Backup jobs
        • Backup of Windows 10 PC with server managed agent
        • VBR Console – users and roles and job notifications
      • Agents
        • USB Disk as Veeam Repository in a private Environment
      • Veeam and Tape
        • Veeam and Tape I - Moving a tape library with data from one VBR server to another
        • Veeam and Tape II - Moving a tape library with data from one VBR server to another
        • Veeam and Tape III - Restore of Backup Job Files from Tape which were backed up with a File-to-Tape
        • Veeam and Tape IV - Cataloging a tape with a huge number of files
        • Veeam and Tape V - Usage of a S3 compatible Object Storage Gateway
      • Plugins for Enterprise Applications
        • Plugin for Oracle RMAN
          • Veeam RMAN Plugin – Update of Backup Meta Data
          • Veeam RMAN Plugin - ORA-01012 Error
          • Parameter "set-force-delete"
          • Parameter "logsDir"
      • Certification & Accreditation
        • Veeam Certified Architect (VMCA) 2022 - course and exam experience
        • New VMSP and VMTSP 2023 Accreditations available in ProPartner Portal
      • Service Provider Console
        • Deactivate Admins Group
      • Links
      • Miscellaneous
    • Spectrum Protect
      • Links
      • Backup/Archive Client
        • log4j Vulnerability - BA Client Fix and Workaround
  • Storage
    • Storage
      • Links
      • Brocade
        • Useful FOS Commands
  • Virtualization
    • VMware
      • Links
      • PowerCLI
        • How to install VMware PowerCLI offline
        • Prepare the connection to the vCenter
  • Automation and Scripting
    • Powershell scripting
      • Set PowerShell Execution Policies
      • Word-wrap PowerShell commands
      • Get Information about Networking
      • Check signature of a DLL
      • Query all VMs with mounted ISO files
      • Dismount all mounted ISO files on a cluster
      • List all Networks of all VMs on a Cluster
      • List all networks on all reachable cluster
  • OS
    • Windows
      • NTP
      • How to install VMware PowerCLI offline
      • Configure MTU Size
    • Linux
      • Routen setzen
      • Infos about FC and WWNs
  • Cloud
    • AWS
      • Links
  • Databases
    • Links
  • Tools
    • useful Tools and Websites
  • Community
    • Other great blogs/communities
Powered by GitBook
On this page
  1. Virtualization
  2. VMware
  3. PowerCLI

How to install VMware PowerCLI offline

PreviousPowerCLINextPrepare the connection to the vCenter

Last updated 4 months ago

Download the PowerCLI package from and save the ZIP file on your PC

The URL is redirected to this one after VMware's acquisition by Broadcom

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

To install PowerCLI you have to determine the PowerShell Module Paths

$env:PSModulePath

Result:

C:\Program Files\WindowsPowerShell\Modules;
C:\Windows\system32\WindowsPowerShell\v1.0\Modules;
...

Change into the Powershell Modules directory C: cd\Program Files\WindowsPowerShell\Modules

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

Make sure that the copied files and folders are not read-only. Run the following command to set them to read-write:

Get-Childitem * -recurse -Force | Foreach {$_.IsReadOnly=$False}

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...  
https://developer.vmware.com/web/tool/vmware-powercli
https://developer.broadcom.com/tools/vmware-powercli/latest