Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Expiring Certificates by Using PowerShell

$
0
0

Summary: Boe Prox shows how you can find certificates that are expiring.

Hey, Scripting Guy! Question How can I find if I have any certificates on my system that are expiring within 30 days?

Hey, Scripting Guy! Answer Use the ExpiringInDays dynamic parameter when working with the certificate provider, for example:

Get-ChildItem Cert:\LocalMachine\My\ -ExpiringInDays 30 |

Select-Object Thumbprint, Subject, NotAfter


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>