PSWindowsUpdate
PSWindowsUpdate copied to clipboard
Invalid Signature on Package
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