PowerTip: Use PowerShell to Find Expiring Certificates

Dr 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

Comments are closed. Login to edit/delete your existing comments