Handy Certificate PowerShell Commands

By |2018-04-12T10:54:13+00:00April 12th, 2018|PowerShell|0 Comments

Here’s some handy PowerShell commands you can use to view certificates on a local machine.

Firstly open PowerShell and run cd Cert: , this will allow you to run the below commands.

Get-ChildItem -path cert:\LocalMachine\My – This will show you all certificates in the Local Machines Personal Store

Get-ChildItem -path “Thumbprint” -recurse  – This will search all certificate stores for the thumbprint you specified

Get-ChildItem  -ExpiringInDays 30 -recurse – This will show you all certificates expiring in the next 30 Days , obviously you can change the value for your requirements

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.