Resolve Alerts Older Than X Days in SCOM 2007

Resolves rule-generated alerts in SCOM 2007 older than X days old. Powershell script that resolves all alerts more than X days old in Operations Manager 2007. Includes connection string to RMS so the script can be run as a scheduled task to keep old alerts cleared out.

Run with no arguments to echo syntax.