You are not logged in.
Pages: 1
On this page: https://ss64.com/ps/set-authenticodesignature.html
...there is an example listed like this:
Examples
Retrieve a code-signing certificate from the certificate provider and use it to sign a PowerShell script:
PS C:\>$cert=Get-ChildItem -FilePath cert:\CurrentUser\my -CodeSigningCert
PS C:\>Set-AuthenticodeSignature PsTest.ps1 -cert $cert
That "-FilePath" parameter is invalid/non-existent. It should probably be "-Path".
Offline
Fixed now, thanks for the heads up
Offline
Pages: 1