PowerTip: Use PowerShell to Discover Certificate Thumbprints

PowerTip: Use PowerShell to Discover Certificate Thumbprints

  • Comments 1
  • Likes

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.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Very nice!

    I know this isn't PowerShelly, but is there a way to get the same sort of information on a Surface? To my knowledge there isn't a certstore that you can browse in this fashion. Was trying to build an app for my surface, and needed to get a list of my installed certs and there wasn't a method for me to be able to do that.

    Hoping maybe you a know a guy ;-)

    Thanks, and have a wonderful Thanksgiving, or if you don't celebrate a great day!