Skip to content

Instantly share code, notes, and snippets.

@MikeLarned
Created June 28, 2011 18:05
Show Gist options
  • Save MikeLarned/1051746 to your computer and use it in GitHub Desktop.
Save MikeLarned/1051746 to your computer and use it in GitHub Desktop.
PowerShell - Search Certificate By Thumbnail
Get-ChildItem cert:\LocalMachine -Recurse | where-object {$_.Thumbprint -eq "<THUMBPRINT>" }
@MikeLarned
Copy link
Author

Needed a way to search all certificate stores across machine. I encountered an error with an installed certificated. The error only returned the thumbprint of the certificate. This helped track down the offending cert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment