How do I view local machine certificate store from CMD\Run?

It’s well known that you can jump to MMC snap-ins by running them directly however one anomaly is Certificate Manager, this actually has two different commands¬† depending on which store you need:

Certmgr – Opens the certificate store for current user

Certlm – Opens the certificate store for the local machine


What if you want to view the details directly in a PowerShell prompt?

Just use the Get-ChildItem and point at the appropriate store:

gci Cert:\CurrentUser\My

gci Cert:\LocalMachine\My\


Leave a Reply

Your email address will not be published. Required fields are marked *