Health Checks - Send email on error

Product: PowerShell Universal
Version: 4.2.6

Is it possible to have an email sent when there is an error on a health check? For example, if the CPU usage is high, it would be great to get an email so we can proactively check it out to see if it needs a reboot. I guess, really, what this could entail would be attaching a script to run on error with certain checks?

2 Likes