Collections:
Other Resources:
Get Certificate Details in Windows PowerShell
How to get certificate detailed properties in Windows PowerShell?
✍: FYIcenter.com
You can get detailed properties of a specific certificate Windows PowerShell
as shown in the example below:
PS C:\fyicenter> cd Cert:
PS Cert:\> cd localmachine
PS Cert:\localmachine> cd authroot
PS Cert:\LocalMachine\authroot> $c = (dir | where-object {$_.subject -like "*microsoft*"})
PS Cert:\LocalMachine\authroot> $c | format-list -Property *
PSParentPath : Microsoft.PowerShell.Security\Certificate::LocalMachine\authroot
PSChildName : 8F43288AD272F3103B6FB1428485EA3014C0BCFE
PSDrive : Cert
PSProvider : Microsoft.PowerShell.Security\Certificate
PSIsContainer : False
EnhancedKeyUsageList : {}
DnsNameList : {}
SendAsTrustedIssuer : False
Archived : False
Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid,
System.Security.Cryptography.Oid, System.Security.Cryptography.Oid}
FriendlyName : Microsoft Root Certificate Authority 2011
IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter : 3/22/2036 6:13:04 PM
NotBefore : 3/22/2011 6:05:28 PM
HasPrivateKey : False
PrivateKey :
PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
RawData : {48, 130, 5, 237...}
SerialNumber : 3F8BC8B5FC9FB29643B569D66C42E144
SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm : System.Security.Cryptography.Oid
Thumbprint : 8F43288AD272F3103B6FB1428485EA3014C0BCFE
Version : 3
Handle : 168881712
Issuer : CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation,
L=Redmond, S=Washington, C=US
Subject : CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation,
L=Redmond, S=Washington, C=US
⇒ Windows Certificates Tutorials
⇐ Get List of Certificates in Windows PowerShell
2022-10-12, ≈25🔥, 1💬
Popular Posts:
Certificate summary - Owner: ssl4299.cloudflare.com, "CloudFlare, Inc.", L=San Francisco, ST=CA, US ...
Certificate Summary: Subject: Go Daddy Root Certificate Authority - G2 Issuer: Go Daddy Class 2 Cert...
Certificate summary - Owner: *.mac.com, Apple Inc., L=Cupertino, ST=California, US Issuer: Entrust C...
Can I continue to use the Web site, even if it has the "Your connection is not secure" error? Normal...
Certificate summary - Owner: *.airbnb.com, "Airbnb, Inc.", L=San Francisco, ST=California, US Issuer...