This is the built-in help made by Microsoft for the command 'Get-PfxCertificate', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' 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.
Gets information about .pfx certificate files on the computer.
Get-PfxCertificate [-FilePath] <String[]> [<CommonParameters>]
Get-PfxCertificate -LiteralPath <String[]> [<CommonParameters>]
The Get-PfxCertificate cmdlet gets an object representing each specified .pfx certificate file. A .pfx file includes both the certificate and a private key.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=293938
Get-AuthenticodeSignature
Set-AuthenticodeSignature
about_Signing
<
-------------------------- EXAMPLE 1 --------------------------
PS C:\>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
This command gets information about the Test.pfx certificate on the system.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>invoke-command -computername Server01 -scriptblock {get-pfxcertificate -filepath C:\Text\TestNoPassword.pfx} -authentication CredSSP
This command gets a .pfx certificate file from the Server01 remote computer. It uses the Invoke-Command to run a Get-PfxCertificate command remotely.
When the .pfx certificate file is not password-protected, the value of the Authentication parameter of Invoke-Command must be "CredSSP".