Populate Microsoft Internet Information Services Server Computer Group

Microsoft.InternetInformationServices.ComputerGroupDiscovery.Rule (Discovery)

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the Windows Internet Information Services Computer group named “IIS Computer Group” with instances of computers that are running any version of Microsoft Windows Internet Information Services.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.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.InternetInformationServices.ComputerGroupDiscovery.Rule" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.ComputerGroup" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<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.Computer"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer"]$</RelationshipClass>
<Expression>
<Contains>
<MonitoringClass>$MPElement[Name="Microsoft.Windows.InternetInformationServices.ServerRole"]$</MonitoringClass>
</Contains>
</Expression>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>