Get monitors and rules that apply to a specific machine

There are various ways to achieve this and this has already been covered elsewhere in this blog, however I recently stumbled across a fantastic powershell script by Stefan Roth that does this brilliantly and just had to include it on here.

NOTE:-You will need the Windows Powershell Integrated Scripting Environment (ISE) feature installed on your mgmt server to avoid errors

Simply run the powershell script (accessed from link below) and enter the FQDN of the server you want to get the rules and monitors for at the computer prompt, then the name of your scom management server at the scom prompt.

A separate window will launch listing all the rules and monitors running on the machine, with options to add further criteria and perform searches.

script

Advertisements
This entry was posted in Monitors and Rules and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s