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 unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...