PowerShell Logo Small

Get-PfxCertificate



This is the built-in help made by Microsoft for the command 'Get-PfxCertificate', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets information about .pfx certificate files on the computer.

SYNTAX


Get-PfxCertificate [-FilePath] <string[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-PfxCertificate cmdlet gets an object representing each specified .pfx certificate file. A .pfx file includes both the certificate and a p
rivate key.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkID=113323
Get-AuthenticodeSignature
Set-AuthenticodeSignature
about_Signing

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>get-pfxcertificate -filepath C:\windows\system32\Test.pfx

Password: ******
Signer Certificate: Matt Berg (Self Certificate)
Time Certificate:
Time Stamp:
Path: C:\windows\system32\zap.pfx



Description
-----------
This command gets information about the Test.pfx certificate on the system.








-------------------------- EXAMPLE 2 --------------------------

C:\PS>invoke-command -computername Server01 -scriptblock {get-pfxcertificate -filepath C:\Text\TestNoPassword.pfx} -authentication CredSSP



Description
-----------
This command gets a .pfx certificate file from the Server01 remote computer. It uses the Invoke-Command to run a Get-PfxCertificate command remot
ely.

When the .pfx certificate file is not password-protected, the value of the Authentication parameter of Invoke-Command must be "CredSSP".