We are integrating SCOM with ServiceNow and find their out of the box integration a little lacking.  For example when a SN ticket is closed it simply closes the SCOM alert, not taking into account the health.  We are looking to rewrite some of this integration to instead reset health on monitors.  This works fine except for Dependency rollup monitors.

Anybody have PowerShell code that can take an alert and find the dependency child objects and reset them?

Stephen Morrison edited question