Detección de Servicios de Escritorio remoto

Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Discovery (Discovery)

Este objeto detecta todos los equipos que están ejecutando un servicio de rol de Servicios de Escritorio remoto.

Knowledge Base article:

Resumen

Este objeto detecta todos los equipos que ejecutan un servicio de rol de Servicios de Escritorio remoto mediante la realización de una consulta de WMI en el equipo remoto.

Element properties:

TargetMicrosoft.Windows.Server.2008.R2.Full.Computer
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Discovery" Enabled="true" Target="Server2008Discovery!Microsoft.Windows.Server.2008.R2.Full.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
<Query>SELECT Name FROM Win32_ServerFeature WHERE ID = 18</Query>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='Name']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>