List computer certificates that will expire with Powershell

Just a small simple script that will list all Computer Cerificates that will expire in 90 days, to give you a heads up and time to renew them.

To list computer certificates that will expire in 90 days:

Just change “-lt 90” to some other value to adjust the expiry period.

4 thoughts on “List computer certificates that will expire with Powershell”

  1. Hi,

    I got this error message:

    Where-Object : Cannot bind parameter ‘FilterScript’. Cannot convert the “Expires in (Days)” value of type “System.Strin
    g” to type “System.Management.Automation.ScriptBlock”.

Leave a Reply