With the release of VMware PowerCLI 12.4 I was updating the module on my LAB servers so I could check out the new command.
When upgrading I was getting the below error which is due to VMware changing the certificate authority used to publish the new module.
Authenticode issuer ‘Efirstname.lastname@example.org, CN=”VMware, Inc.”, O=”VMware, Inc.”, L=Palo Alto, S=California, C=US’ of the new module ‘VMware.VimAutomation.Sdk’ with version ‘220.127.116.1127054’ from root
In the release notes from VMware there is a know issue with the certificate. The fix is to remove and re-install the module.
I though I would do a quick post on this incase anyone doesn’t know the process.
To check where the module is installed run the below command.
Get-Module -ListAvailable VMware.PowerCLI
In my case the module was installed in C:\Program Files\WindowsPowerShell\Modules.
Next we need to remove the old modules, below is a list of the folders that make up the VMware PowerCLI 12.0 module.
After removing the folder we now have to install the new module using Install-Module
Once completed we should now have PowerCLI version 12.4