Set-AuthenticodeSignature - Powershell 1.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
Set-AuthenticodeSignature
Description Place a signature in a .ps1 script or other file Usage Options Example(s) 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 Find a code signing certificate and use it to sign a PowerShell script: PS C:\>$cert = Get-PfxCertificate C:\Test\Mysign.pfx PS C:\>Set-AuthenticodeSignature -Filepath C:\myscript.ps1 -Cert $cert Add a digital signature signed by a third-party timestamp server: PS C:\>Set-AuthenticodeSignature -filepath c:\myscript.ps1 -cert $cert -TimeStampServer "http://www.fabrikam.com/TimeManager"