Finding Certificates by Thumbprint in PowerShell

The below Powershell command can be used to find a specific certificate with only the thumbprint. This is useful for SCOM (System Centre Operations Manager) alerts which tell you when a certificate is about to expire, but only the thumbprint is given.

 cd cert: 

dir -recurse | where {$_.Thumbprint -eq “<thumbprint>”} | Format-List -property *

 Simply replace <thumbprint> with the thumbprint of the certificate you want to check for, making sure it has no spaces.

 Hope this helps!

About the author