Unable to install VMware.PowerCLI module getting error as
PS C:> Install-Module -name vmware.powerCLI -scope CurrentUser -Force -allowclobber
PackageManagementInstall-Package : The module ‘VMware.VimAutomation.Sdk’ cannot be installed because the catalog
signature in ‘VMware.VimAutomation.Sdk.cat’ does not match the hash generated from the module.
At C:Program FilesWindowsPowerShellModulesPowerShellGet1.0.0.1PSModule.psm1:1661 char:21
+ … $null = PackageManagementInstall-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power….InstallPackage:InstallPackage) [Install-Package],
Exception
+ FullyQualifiedErrorId : InvalidCatalogSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.Packag
eManagement.Cmdlets.InstallPackage
My Powershell version details are as below.
PS C:> $PSVersionTable
Name Value
—- —–
PSVersion 5.1.14393.0
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
BuildVersion 10.0.14393.0
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1