How to upgrade VMware powercli through offline

 

Step1: Download the VMware powecli Offline bundle

 A) Go to the link: "https://code.vmware.com/web/tool/11.2.0/vmware-powercli" and download ZIP file

or from any machine have internet access download using powershell command:

  B) Save-Module -Name VMware.PowerCLI -Path C:\temp

Step2: copy the ZIP extracted file to windows machine path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules"

Step3: run the command  the below command from powershell path C:\Windows\system32\WindowsPowerShell\v1.0\Modules"

 >> "Get-ChildItem * -Recurse | Unblock-File

>> Import-Module VMware.PowerCLI

Step4:Set CEIP using below command:

>>Set-PowerCLIConfiguration -Scope AllUsers -ParticipateInCeip $false

Step5:If any certificate error run below command:

>>Set-PowerCLIConfiguration -Scope AllUsers -InvalidCertificateAction Warn

No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...