Welcome to the navigation

Minim sint dolore ex duis ut cillum in laborum, occaecat proident, velit officia in reprehenderit excepteur ea irure eiusmod culpa cupidatat sed nostrud aliqua, et. Duis magna et minim sunt exercitation ea enim in labore laboris non aliqua, velit ipsum nostrud irure dolore eiusmod adipisicing commodo dolore lorem excepteur officia

Yeah, this will be replaced... But please enjoy the search!

Find certificates using PowerShell

Here's a little trick to find certificates using the cert: store directory path and PowerShell.

Utilize the recurse option on the dir dommand

dir cert: -Recurse

Combining with a Where-Object custom searches can easily be written 

Where-Object { $_.FriendlyName -like "*DigiCert*" }

By FriendlyName

This will list any certificates with a FriendlyName containing DigiCert

dir cert: -Recurse | Where-Object { $_.FriendlyName -like "*DigiCert*" }

 

By Thumbprint

This will list any certificates with a thumbprint containing 0563B8630D62D75ABBC8AB1E4B

dir cert: -Recurse | Where-Object { $_.Thumbprint -like "*0563B8630D62D75ABBC8AB1E4B*" }

 

By NotAfter (expiry date)

This will list any certificates that isn't valid after the 31 Dec 2018

dir cert: -Recurse | Where-Object { $_.NotAfter -lt (Get-Date 2018-12-31) }

This will list any certificates that will expire the upcomming year, from now and one year ahead

dir cert: -Recurse | Where-Object { $_.NotAfter -gt (Get-Date) -and $_.NotAfter -lt (Get-Date).AddYears(1) }

 

 

 

Please note that this portal is a BETA site , I will continuously improve all functionality and performance during the coming weeks / the author