Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Set-AuthenticodeSignature

Set-AuthenticodeSignature - Powershell 3.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 »


Short description
Adds an Authenticode signature to a Windows PowerShell script or other file.

Set-AuthenticodeSignature [-FilePath] <String[]> [-Certificate] <X509Certificate2> [-Force [<SwitchParameter>]] [-HashA
lgorithm <String>] [-IncludeChain <String>] [-TimestampServer <String>] [-Confirm [<SwitchParameter>]] [-WhatIf [<Switc
hParameter>]] [<CommonParameters>]
Set-AuthenticodeSignature [-Certificate] <X509Certificate2> [-Force [<SwitchParameter>]] [-HashAlgorithm <String>] [-In
cludeChain <String>] [-TimestampServer <String>] -LiteralPath <String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<Swit
chParameter>]] [<CommonParameters>]

The Set-AuthenticodeSignature cmdlet adds an Authenticode signature to any file that supports Subject Interface Package

In a Windows PowerShell script file, the signature takes the form of a block of text that indicates the end of the inst
ructions that are executed in the script. If there is a signature in the file when this cmdlet runs, that signature is