I had been very busy lately so this blog has been quite for few days, but now I would like to provide a custom OMS solution. My goal was to build a solution which shows you the effective configuration of a monitor or rule, based on a group of objects in SCOM. I created two parts, one is a PowerShell module to collect all the data from your SCOM management server and ingest it into your OMS workspace. For visualizing the data I created a OMS view which looks like this…
How does it work? Great question, so let’s start with the data collection.
SendEffectiveConfiguration PowerShell Module
I published the module on PowerShell gallery, which you can find here.
The module supports the following parameters:
This parameter accepts any existing group in SCOM, that contains objects. E.g. Windows Server 2012 Computer Group.
Set your SCOM management server here.
CustomerID is the workspace id where you want to analyze your data.
SharedKey ist the primary key for the corresponding workspace.
So the command executed would look like this:
Send-EffectiveConfiguration -GroupDisplayName “Windows Server 2012 Computer Group” -ManagementServer SCOM -CustomerId [WorkspaceID] -SharedKey [PrimaryKey] –verbose