Get Certificate thumbprint using PowerShell


In order to get a list of certificates and their thumbprints, you can use the following PowerShell command:

Get-ChildItem -path cert:\LocalMachine\My

This will list all certificates and thumbprints the My store:

image


Comments (7)

  1. sam says:

    Excellent! Very helpful. Thanks!

  2. Nathan says:

    This works in my Windows 8.0 laptop, not in the Windows Server 2008 system I want to use it on. I had hoped to iterate through this for all certificate stores and then find a match for a certificate deployed such that I can see the thumbprint but not the
    CN, etc, pertaining to the cert (don’t ask, it’s a weird app…).

    Is there any way to do this in Server 2008?

  3. Nathan says:

    Follow-up comment. The Server 2008 system gets part of the way there. It tells me the following childitems exist from Cert:Localmachine – I just can’t seem to get any deeper… Powershell returns only a null result.

  4. Anonymous says:

    My role has previously primarily focused on Microsoft Intune, nowadays it’s more towards our whole Enterprise

  5. jahafar says:

    Can we get thsi info for multiple remote systems from an input file

  6. anonymouscommenter says:

    问题描述 :
    ==================
    在Office 365混合部署场景下,使用TMG发布ADFS 3.0时报错64 :Host not available

    问题原因

  7. PC says:

    Thanks a lot, this was very helpful.

Skip to main content