PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Invalid Signature on Package

Open ccgthree opened this issue 1 year ago • 1 comments

I attempted to install the module on a host today and ran into an error indicating that the Authenticode Signature is bad:

PackageManagement\Install-Package : The module 'PSWindowsUpdate' cannot be installed or updated because the
authenticode signature of the file 'PSWindowsUpdate.psd1' 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],
   Exception
    + FullyQualifiedErrorId : InvalidAuthenticodeSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.P
   ackageManagement.Cmdlets.InstallPackage

ccgthree avatar Dec 05 '24 16:12 ccgthree