DHCP 2016 和 1709+ 伺服器群組填入程序
Microsoft.Windows.DHCPServer.10.0.Populate.Group.Servers (Discovery)
此探索規則會將所有探索到的 DHCP 2016 和 1709+ 伺服器填入 DHCP 2016 和 1709+ 伺服器群組
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.DHCPServer.10.0.Populate.Group.Servers" Enabled="true" Target="Microsoft.Windows.DHCPServer.10.0.Group.Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.DHCPServer.10.0.Contains.ServersContainsServer"/>
</DiscoveryTypes>
<DataSource ID="Microsoft.Windows.DHCPServer.10.0.Module" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$MPElement[Name="Microsoft.Windows.DHCPServer.10.0.Group.Servers"]$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.DHCPServer.10.0.Server"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.Windows.DHCPServer.10.0.Contains.ServersContainsServer"]$</RelationshipClass>
<Expression>
<RegExExpression>
<ValueExpression>
<Property>$MPElement[Name="DHCP!Microsoft.Windows.DHCPServer.Library.Server"]/OSCurrentVersion$</Property>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>10.</Pattern>
</RegExExpression>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>