Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Discover Certificate Thumbprints

$
0
0

Summary: Use Windows PowerShell to discover certificate thumbprints.

Hey, Scripting Guy! Question How can I use Windows PowerShell to discover the thumbprints of certificates that are installed on my machine?

Hey, Scripting Guy! Answer Interrogate the certificate store, which is exposed as the cert: drive:

Get-ChildItem -Path cert: -Recurse | select Subject, FriendlyName, Thumbprint | Format-List

You will see a lot of entries like this:

Subject      : OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US

FriendlyName : Go Daddy Class 2 Certification Authority

Thumbprint   : 2796BAE63F1801E277261BA0D77770028F20EEE4

Filter the results by using Path or Where-Object to discover the certificate you need.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>