Windows Server 2012 R2-Computergruppe mit allen Windows Server 2012 R2-Computern auffüllen

Microsoft.Windows.Server.2012.R2.AllServersComputerGroupDiscovery (Discovery)

Diese Regel füllt die Windows Server 2012 R2-Computergruppe mit Einträgen.

Knowledge Base article:

Zusammenfassung

Mit dieser Ermittlungsregel wird die Windows Server-Computergruppe mit dem Namen „Windows Server 2012 R2-Computergruppe“ ermittelt und mit Instanzen von Computern aufgefüllt, auf denen ein Microsoft Windows Server 2012 R2-Betriebssystem ausgeführt wird.

Element properties:

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