{"id":2507,"date":"2013-11-27T11:59:00","date_gmt":"2013-11-27T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2013\/11\/27\/powertip-use-powershell-to-discover-certificate-thumbprints\/"},"modified":"2013-11-27T11:59:00","modified_gmt":"2013-11-27T11:59:00","slug":"powertip-use-powershell-to-discover-certificate-thumbprints","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-use-powershell-to-discover-certificate-thumbprints\/","title":{"rendered":"PowerTip: Use PowerShell to Discover Certificate Thumbprints"},"content":{"rendered":"<p><strong>Summary<\/strong>: Use Windows PowerShell to discover certificate thumbprints.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\">&nbsp;How can I use Windows PowerShell to discover the thumbprints of certificates that are installed on my machine?<\/p>\n<p style=\"padding-left: 30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\">&nbsp;Interrogate the certificate store, which is exposed as the&nbsp;<strong>cert:<\/strong>&nbsp;drive:<\/p>\n<p style=\"padding-left: 90px\">Get-ChildItem -Path cert: -Recurse | select Subject, FriendlyName, Thumbprint | Format-List<\/p>\n<p style=\"padding-left: 60px\">You will see a lot of entries like this:<\/p>\n<p style=\"padding-left: 90px\">Subject&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : OU=Go Daddy Class 2 Certification Authority, O=&#8221;The Go Daddy Group, Inc.&#8221;, C=US<\/p>\n<p style=\"padding-left: 90px\">FriendlyName : Go Daddy Class 2 Certification Authority<\/p>\n<p style=\"padding-left: 90px\">Thumbprint&nbsp;&nbsp; : 2796BAE63F1801E277261BA0D77770028F20EEE4<\/p>\n<p style=\"padding-left: 60px\">Filter the results by using&nbsp;<strong>Path<\/strong>&nbsp;or&nbsp;<strong>Where-Object<\/strong>&nbsp;to discover the certificate you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Use Windows PowerShell to discover certificate thumbprints. &nbsp;How can I use Windows PowerShell to discover the thumbprints of certificates that are installed on my machine? &nbsp;Interrogate the certificate store, which is exposed as the&nbsp;cert:&nbsp;drive: Get-ChildItem -Path cert: -Recurse | select Subject, FriendlyName, Thumbprint | Format-List You will see a lot of entries like this: [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[356,57,189,4,45],"class_list":["post-2507","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-powertip","tag-remoting","tag-richard-siddaway","tag-scripting-techniques","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Use Windows PowerShell to discover certificate thumbprints. &nbsp;How can I use Windows PowerShell to discover the thumbprints of certificates that are installed on my machine? &nbsp;Interrogate the certificate store, which is exposed as the&nbsp;cert:&nbsp;drive: Get-ChildItem -Path cert: -Recurse | select Subject, FriendlyName, Thumbprint | Format-List You will see a lot of entries like this: [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/2507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=2507"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/2507\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=2507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=2507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=2507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}