Resolve all open alerts in date range
Resolve all open alerts in date range
get-alert | where {$_.TimeRaised.ToLocalTime().date -ge "mm/dd/yyyy" -and $_.TimeRaised.ToLocalTime().date -le "mm/dd/yyyy" -and $_.resolutionState -ne 255} | resolve-alert
Comments
- Anonymous
January 01, 2003
PingBack from http://blogs.technet.com/jonathanalmquist/archive/2008/11/17/operations-manager-2007-command-shell.aspx