Install-Module VMware-PowerCLI fails 'VMware.VimAutomation.Sdk.cat' is not valid

 Error:

Install-Module VMware.PowerCLI -Scope CurrentUser

PackageManagement\Install-Package : The module 'VMware.VimAutomation.Sdk' cannot be installed or updated because the

authenticode signature of the file 'VMware.VimAutomation.Sdk.cat' is not valid.

At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21

+ ...          $null = PackageManagement\Install-Package @PSBoundParameters

+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],


Solution:

Run below command to install module

install-module vmware.powercli -scope AllUsers -force -SkipPublisherCheck -AllowClobber



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...