Get Expired Certs

less than 1 minute read

Get the One!

One of our certs was going to expire. I was tasked with a simple thing - get all servers where the cert is used/imported and list them. That’s fairly simple task:

This will give me a list with all computer names where the cert is imported. The only assumption - I’m looking into Windows’ Personal Store, any non-Windows imported cert will be left in the dark.

‘EVERYONE’

I thought I’ll get all expired certs from the servers and export them into a list:

Everyone

Leave a comment