Get-PfxCertificate
SYNOPSIS
Gets information about .pfx certificate files on the computer.
SYNTAX
Get-PfxCertificate [-filePath] <string[]> [<CommonParameters>]
DETAILED DESCRIPTION
The Get-PfxCertificate cmdlet gets an object representing each specified .pfx certificate file. A .pfx file includes both the certificate and a private key.
PARAMETERS
-filePath <string[]>
The full path to the .pfx file of the secured 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
certificateObject
NOTES
You can retrieve information about a collection object either by using the InputObject parameter or by piping the object, preceeded by a comma, to Get-Member.
For more information, type "Get-Help Get-PfxCertificate -detailed". For technical information, type "Get-Help Get-PfxCertificate -full".
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".
EXAMPLE 1
get-pfxcertificate -filepath C:\windows\system32\Test.pfx
This command gets information about the Test.pfx certificate on the system.
Password: ******
Signer Certificate: Rob Barker (Self Certificate)
Time Certificate:
Time Stamp:
Path:C:\windows\system32\zap.pfx
RELATED LINKS