Verify the Digital Signature of a PowerShell Script
Problem
You want to verify the digital signature of a PowerShell script or formatting file.
Solution
To validate the signature of a script or formatting file, use the GetAuthenticodeSignature cmdlet:
PS >GetAuthenticodeSignature .\test.ps1
Directory: C:\temp
SignerCertificate Status Path
FD48FAA9281A657DBD089B5A008FAFE61D3B32FD Valid test.ps1
Discussion
- Read more about Verify the Digital Signature of a PowerShell Script
- Log in or register to post comments