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