Get-AuthenticodeSignature
Additional Resources for Get-AuthenticodeSignature |
||||||||||
Retrieving Digital
Signatures
SYNOPSIS
Gets information about the
Authenticode signature in a file.
SYNTAX
Get-AuthenticodeSignature
[-filePath] <string[]> [<CommonParameters>]
DETAILED DESCRIPTION
The Get-AuthenticodeSignature
cmdlet gets information about the Authenticode signature in a file.
If the file is not signed, the information is retrieved, but it the
fields are blank.
PARAMETERS
-filePath <string[]>
The path to the file being
examined. Wildcards are permitted, but they must lead to a single
file. The parameter name ("-FilePath") is optional.
Required?
true
Position?
1
Default value
Accept pipeline
input?
true (ByValue,
ByPropertyName)
Accept wildcard
characters?
true
<CommonParameters>
This cmdlet supports the common
parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and
-OutVariable. For more information, type, "get-help
about_commonparameters".
INPUT TYPE
String
RETURN TYPE
SignatureObject
NOTES
For more information, type
"Get-Help Get-AuthenticodeSignature -detailed". For technical
information, type "Get-Help Get-AuthenticodeSignature
-full".
For information about Authenticode
signatures in Windows PowerShell, type "get-help
About_Signing".
When specifying multiple values for
a parameter, use commas to separate the values. For example,
"<parameter-name> <value1>, <value2>".
EXAMPLE 1
get-AuthenticodeSignature -filepath C:\Test\NewScript.ps1
This command gets information about
the Authenticode signature in the NewScript.ps1 file. It uses the
Filepath parameter to specify the file.
EXAMPLE 2
get-authenticodesignature test.ps1, test1.ps1, sign-file.ps1,
makexml.ps1
This command gets information about
the Authenticode signature in the four files listed at the command
line. In this command, the name of the Filepath parameter, which is
optional, is omitted.
RELATED LINKS
|