Retrieve instances of a monitor in a critical state (in SCOM 2007)
By MadHatter on 8/12/2010 12:58:37 AM • Rank (2739) • Views 2941
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.

Only registered users may download. Registration is free.

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
Latest Media - View All Media (1)
   


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

Top Contributors
Featured Members
Pete Zerger
Points: 72684
Level: System Center Expert
Tommy Gunn
Points: 47503
Level: System Center Expert
Simon Skinner
Points: 40804
Level: System Center Expert
Andreas Zuckerhut
Points: 30700
Level: System Center Expert
Stefan Koell
Points: 30179
Level: System Center Expert