填入所有 Windows Server 2016 及更新版本電腦群組
Microsoft.Windows.Server.10.0.AllServersComputerGroupDiscovery (Discovery)
此探索規則會探索名為「Windows Server 2016 及更新版本電腦群組」的 Windows Server 電腦群組,並於其中填入執行 Windows Server 2016 及更新版本作業系統的電腦執行個體。
Knowledge Base article:
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.Windows.Server.10.0.AllServersComputerGroupDiscovery" Enabled="true" Target="Microsoft.Windows.Server.10.0.ComputerGroup">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.Server.10.0.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>