PowerTip: Use PowerShell to Find Expiring Certificates

PowerTip: Use PowerShell to Find Expiring Certificates

  • Comments 5
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment