Populate Disabled CfgMgr Service Window SCOM Maintenance Mode Automation Group

Disabled.CfgMgr.Service.Window.SCOM.Maintenance.Mode.Automation.Group.DiscoveryRule (Discovery)

This discovery rule populates the group 'Disabled CfgMgr Service Window SCOM Maintenance Mode Automation Group'

Element properties:

TargetDisabled.CfgMgr.Service.Window.SCOM.Maintenance.Mode.Automation.Group
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
GroupPopulationDataSource DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Disabled.CfgMgr.Service.Window.SCOM.Maintenance.Mode.Automation.Group.DiscoveryRule" Enabled="true" Target="Disabled.CfgMgr.Service.Window.SCOM.Maintenance.Mode.Automation.Group" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="InstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities"/>
</DiscoveryTypes>
<DataSource ID="GroupPopulationDataSource" TypeID="SystemCenter!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$MPElement[Name="Disabled.CfgMgr.Service.Window.SCOM.Maintenance.Mode.Automation.Group"]$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="WindowsLibrary!Microsoft.Windows.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="InstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
<Expression>
<RegExExpression>
<ValueExpression>
<Property>$MPElement[Name="WindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Property>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>*</Pattern>
</RegExExpression>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>