VMware Cloud Community
BucFan
Contributor
Contributor

Problem installing PowerCLI on Windows Server 2016

Greetings, 

I trying to install PowerCLI 12 on a WIndows Server 2016 device. I am receiving the following error:

PackageManagement\Install-Package : The module 'VMware.ImageBuilder' cannot be installed because the catalog signature in 'VMware.ImageBuilder.cat' does not match the hash generated from the module.

At C:\Program Files\WIndows\Powershell\Modules\PowershellGet\1.0.0.1\PSModule.psm1:1681 char:21

$null = PackageManagement\Install-Package @PSBOundParameters

 

Any assistance would be greatly appreciated....

0 Kudos
2 Replies
LucD
Leadership
Leadership

You are using an old version of PowerShellGet.

That is also listed under the Known Issues in Obtaining Specific PowerCLI Versions from the PowerShell Gallery

Update your PowerShellGet version first, then try installing PowerCLI again.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
BucFan
Contributor
Contributor

I upgraded to 2.2.5 and it worked correctly this time; thanks....

0 Kudos