填入所有 Windows 伺服器電腦群組

Microsoft.Windows.Server.AllServersComputerGroupDiscovery (Discovery)

此探索會將所有的 Windows 伺服器置入 Windows 伺服器電腦群組。

Knowledge Base article:

摘要

此探索規則會探索名為「Windows 伺服器電腦群組」的 Windows 伺服器電腦群組,並於其中填入執行任何版本的 Microsoft Windows 伺服器作業系統的電腦執行個體。

Element properties:

TargetMicrosoft.Windows.Server.ComputerGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.Windows.Server.AllServersComputerGroupDiscovery" Enabled="true" Target="Microsoft.Windows.Server.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="Windows!Microsoft.Windows.Server.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>