I’m back again with one more PowerShell script, this time getting certificate expiration warnings from Windows machines.
You can use the PowerShell script below to create a template and get warnings, critical, down etc. if a certificate is close to expiration or already is expired.