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

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...