PowerTip: Use PowerShell to Check Validity of User Certificates


Summary: Learn how to quickly check user certificates by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to check the validity of user certificates without engaging in a manual process?

Hey, Scripting Guy! Answer Use the certificate provider to obtain a list of certificate objects, and
          pipe the results to the Test-Certificate cmdlet:

gci Cert:\CurrentUser\my -Recurse | Test-Certificate -AllowUntrustedRoot


Discussion is closed.

Feedback usabilla icon