Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the urvanov-syntax-highlighter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in C:\home\site\wwwroot\wp-includes\functions.php on line 6114
List computer certificates that will expire with Powershell – A Geeks World

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