Find Out the Certificate Expiration Dates On-Premise

Table of Contents

This post is also available in: Deutsch

With the following line you will get a list of Certificates which will expire within the amount of days you are interested in (please just fill in the amount of days you are interested in, in our example it is 300 “Expiringindays”).

get-childitem -path cert: -recurse -Expiringindays 300 | Select-Object Issuer, NotAfter, Subject, FriendlyName | FL

You will get a list of Certificates with details including the expiration date.

To renew the high trust certificate, please follow the instructions in the corresponding article here.

Was this article helpful?

Please, contact us if you have any additional questions.