Archive for September, 2016

Recently I wrote up a post about disabling Rules (and followed that up with Monitors and Discoveries)…but I  was asked if it’s possible to only disable a specific category of rules. For example you might want to disable all alerting rules or disable performance collection rules, or maybe event collection rules. Whatever your desire, yes it can be done. Let me show you how!

So by my count there are 18 different types of rules:

  • Alert
  • AvailabilityHealth
  • ConfigurationHealth
  • ConnectorFramework
  • Custom
  • Discovery
  • DSIntegration
  • EventCollection
  • ExceptionMonitoring
  • Maintenance
  • Notification
  • Operations
  • PerformanceCollection
  • PerformanceHealth
  • SecurityHealth
  • SoftwareAndUpdates
  • StateCollection
  • System


Like with my previous posts it’s a very easy process to follow…

Read more

I’m not completely sure that I’ve ever needed to disable all discoveries in an MP…(some of them yes)…In most cases if I want none of the discoveries then I may as well just delete the MP. But since I was emailed the question, yes absolutely…like with my recent Rules and Monitors posts you can use that same code to disable Discoveries. Let’s get to it!

Read more

So last night I was on a call with a customer and during that conversation the question was asked, ‘Can we disable all rules in a management pack using PowerShell or the Console?’.

Well yes you can, although it’s a pretty drastic measure to disable everything…That said the task itself is pretty easy. Well, actually it’s pretty long winded if you use the console but yes it can be done…1 by 1, by 1, by 1… sigh. Be prepared to stay awhile if you use this method.

PowerShell is the way…let’s see how.

Read more

How can you get a list of SCOM 2016 Agentless Managed Computers using Windows PowerShell? Well actually it remains unchanged from SCOM 2012:


Computer                   :
LastModified               : 2/9/2016 10:54:49 AM
Path                       :
Name                       :
DisplayName                :
HealthState                : Success
PrincipalName              :
ComputerName               : Computer123
Domain                     : THESCOMLAB
IPAddress                  :
ProxyAgentPrincipalName    :
Id                         : 965295ae-e898-42ba-4e9b-3151e67ed547
ManagementGroup            : TheSCOMLab01
ManagementGroupId          : d92144f5-7a03-c034-df13-e64ac311af4d

Today I was asked for a list of all Servers that we have configured in SCOM, plus the IP Addresses that it’s configured with. This is pretty easy to do and here’s how.

At the time I had open the SQL Management Studio so I chose to query the Operations Manager Database directly:

Use [OperationsManager]
SELECT DisplayName, IPAddress
FROM MT_Computer

Read more