Retrieve instances of a monitor in a critical state (in SCOM 2007)

by PowerShell MVP Marc van Orsouw, this PowerShell script (intermingled with bits of C#) will efficiently retrieve a list / count of monitors in a critical state in Operations Manager 2007.

NOTE: This script requires PowerShell v2.0
To download, sign in and click the Download button at right.