すべての Windows サーバー コンピュータ グループの設定

Microsoft.Windows.Server.AllServersComputerGroupDiscovery (Discovery)

この検出では、すべての Windows サーバーを Windows サーバー コンピュータ グループに配置します。

Knowledge Base article:

要約

この検出ルールは、"Windows サーバー コンピュータ グループ" という名前の Windows サーバー コンピュータ グループを検出し、いずれかのバージョンの Microsoft Windows Server オペレーティング システムを実行しているコンピュータのインスタンスをこのグループに設定します。

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>