Populate Windows Server 2016 and above Enabled Process Monitoring Group
Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group.Discovery (Discovery)
This rule populates the group containing seeds of Windows Server 2016 and above operating systems for which process monitoring is enabled via "Add Monitoring Wizard".
Knowledge Base article: Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group.Discovery" Target="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.Group" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.ContainsWindowsServer.10.0.Computer"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Server2016!Microsoft.Windows.Server.10.0.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoringEnabled.ContainsWindowsServer.10.0.Computer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed"]$</MonitoringClass>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>$MPElement[Name='WindowsServer!Microsoft.Windows.Server.ProcessSeed']/ProcessMonitoringEnabled$</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>True</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>