Wednesday, September 15, 2010

Configuring a MP: disabling all Monitors for a certain class

Update 15-09-2010: Got a comment on this posting, refering to the Override Creator Tool… Want to know more about that SUPER tool? Go here.

For a customer I had to disable all POP3 and IMAP4 Monitors available in the Exchange 2010 MP.

Since it is a lot of Monitors which needed to be disabled, I wanted to create a PS script. But unfortunately there is no cmdlet available for that. So the search stopped right there and the overrides were set manually.

But what I did find was a blog posting of Marc Klaver and his colleague. They have deep knowledge about SCOM and bumped some months ago into the same issue. So they started to develop their own(!) cmdlets:
image
The yellow highlighted box is the one they have already developed. The red highlighted box are the ones which they are planning to write.

Blog postings in this series they have written:

  1. Setting an override on a rule with PowerShell (OpsMgr snapin part 1: Set-OverrideRule)
  2. Setting an override on a rule with PowerShell (OpsMgr snapin part 2)
  3. Setting an override on a rule with PowerShell (OpsMgr snapin part 3)

So keep a watchful eye on their blog in order to see when the next cmdlet is being published. Thanks guys, great work!

No comments: