Lightweight generic Server 2012R2 Roles Discovery

LW.Microsoft.Windows.Server.2012R2.Roles.Discovery (Discovery)

This rule runs against every Windows Server 2012R2 computer and checks whether server roles are installed.

Element properties:

TargetLW.Microsoft.BaseOS.2012R2
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDS DataSource LW.Microsoft.Windows.Server.2012R2.Role.Discovery.DataSource Default

Source Code:

<Discovery ID="LW.Microsoft.Windows.Server.2012R2.Roles.Discovery" Enabled="true" Target="LW.Microsoft.BaseOS.2012R2" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="LW.Microsoft.Windows.Server.AD.Certificate.2012R2"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.Server.AD.Federation.2012R2"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDS" TypeID="LW.Microsoft.Windows.Server.2012R2.Role.Discovery.DataSource">
<IntervalSeconds>86400</IntervalSeconds>
<ComputerPrincipalName>$Target/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerPrincipalName>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>