Retrieve instances of a monitor in a critical state (in SCOM 2007)
By MadHatter on 8/12/2010 12:58:37 AM • Rank (2386) • Views 2535
0

0

 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.
Download

"Only registered users may download. Registration is free."

Version:
Importance:
Guide:
Latest Media - View All Media (1)
   
Comments (1) - Comment RSS
MOW wrote: on Aug 23, 2010 06:50 AM
Looks like a part of the scipt is missing :



add-type $code -ref "C:\Program Files\System Center Operations Manager 2007\SDK Binaries\Microsoft.EnterpriseManagement.OperationsManager.dll"



$mscom = New-Object mow.scom

$r = $mscom.Go("Microsoft.SystemCenter.HealthService.Security.SpoofedDataCheck")

$r.Values |% {$_[0]} | group HealthState



Greetings /\/\o\/\/

Add your Comment


Who Viewed
Who Reviewed
Categories
Related Pages
Shortened URL
http://tinyurl.com/3xq2nqa

Top Contributors
Featured Members
Pete Zerger
Points: 65622
Level: System Center Expert
Tommy Gunn
Points: 42748
Level: System Center Expert
Simon Skinner
Points: 40804
Level: System Center Expert
Stefan Koell
Points: 28999
Level: System Center Expert
Andreas Zuckerhut
Points: 27734
Level: System Center Expert