You can sign PowerShell certificates with New-SelfSignedCertificate and without MakeCert
For those who can’t wait, here is the solution right away. Next two lines actually work – without using MakeCert.exe: New-SelfSignedCertificate -DnsName STA07 -Type CodeSigning Set-AuthenticodeSignature C:\T\add-signature.ps1 @(gci Cert:\LocalMachine\My -DnsName STA07 -codesigning)[0] First command creates a certificate in your Intermediate Certification Authorities. Second command signs the script. Wow! Innocent […]