PowerTip: Use PowerShell to Find Expiring Certificates

Doctor Scripto

Summary: Use Windows PowerShell to find certificates that are about to expire.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find certificates that are going to expire within 30 days?

Hey, Scripting Guy! Answer Use the certificate provider and the dynamic parameter –ExpiringInDays:

Get-ChildItem cert:\currentUser –Recurse –ExpiringInDays 30

0 comments

Discussion is closed.

Feedback usabilla icon