Yes, the following article outlines how to create a PowerShell script to check for expiring certificates.
Can I get alerted about expiring certificates in EventSentry?
https://www.eventsentry.com/kb/339