Powershell command check SSL certificates

# This will show you all certificates in the Local Machines Personal Store


Get-ChildItem -path cert:\LocalMachine\My 

# This will search all certificate stores for the thumbprint you specified


Get-ChildItem -path “Thumbprint” -recurse 


# This will show you all certificates expiring in the next 30 Days , obviously you can change the value for your requirements


Get-ChildItem  -ExpiringInDays 30 -recurse 
  •  
  •  
  •  
  •  

Viet Luu has written 288 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.