DHCP 2012 R2 IPV4 Scopes Group Populator

Microsoft.Windows.DHCPServer.2012.R2.Populate.Group.IPv4Scopes (Discovery)

This discovery rule populates the DHCP 2012 R2 IPV4 Scopes Group with all discovered DHCP 2012 R2 IPV4 Scopes Installations

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the DHCP 2012 R2 IPV4 Scopes group named "DHCP 2012 R2 IPv4 Scopes Group" with instances of IPV 4 Scopes defined in Server that are running a Microsoft Windows DHCP Server 2012 R2.

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.R2.Group.IPv4Scopes
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.Windows.DHCPServer.2012.R2.Populate.Group.IPv4Scopes" Enabled="true" Target="Microsoft.Windows.DHCPServer.2012.R2.Group.IPv4Scopes" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.DHCPServer.2012.R2.Contains.IPv4ScopesContainsIPv4Scope"/>
</DiscoveryTypes>
<DataSource ID="GroupPopulatorDS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$MPElement[Name="Microsoft.Windows.DHCPServer.2012.R2.Group.IPv4Scopes"]$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="DHCP2012!Microsoft.Windows.DHCPServer.2012.IPv4Scope"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.DHCPServer.2012.R2.Contains.IPv4ScopesContainsIPv4Scope"]$</RelationshipClass>
<Expression>
<RegExExpression>
<ValueExpression>
<Property>$MPElement[Name="DHCP!Microsoft.Windows.DHCPServer.Library.Scope"]/OSCurrentVersion$</Property>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>6.3.</Pattern>
</RegExExpression>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>