PowerTip: Use PowerShell to Discover Certificate Thumbprints

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.