CmdID

CmdID / PowerShell / Cmdlets / Get

Get-PfxCertificate

Gets information about PFX certificate files on the computer. PowerShell reference

From the PowerShell reference 2 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Gets information about PFX certificate files on the computer. The Get-PfxCertificate cmdlet gets an object representing each specified PFX certificate file. A PFX file includes both the certificate and a private key.

Get-PfxCertificate [-FilePath] <String[]> [<CommonParameters>]
Get-PfxCertificate -LiteralPath <String[]> [<CommonParameters>]

Get a PFX certificate

Get-PfxCertificate -FilePath "C:\windows\system32\Test.pfx"Identify

Get a PFX certificate from a remote computer

Invoke-Command -ComputerName "Server01" -ScriptBlock {Get-PfxCertificate -FilePath "C:\Text\TestNoPassword.pfx"} -Authentication CredSSPIdentify

Its page in the reference: Get-PfxCertificate.

Parameters

2 in the PowerShell reference
-FilePathSpecifies the full path to the PFX file of the secured file. If you specify a value for this parameter, it is not necessary to type -FilePath at the command line.
-LiteralPathThe full path to the PFX file of the secured file. Unlike FilePath, the value of the LiteralPath parameter is used exactly as it is typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences.