RD 세션 호스트 검색

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

이 개체는 원격 데스크톱 세션 호스트 역할 서비스를 실행하는 모든 컴퓨터를 검색합니다.

Knowledge Base article:

요약

이 개체는 원격 컴퓨터에서 WMI 쿼리를 수행하여 원격 데스크톱 세션 호스트 역할 서비스를 실행 중인 모든 컴퓨터를 검색합니다.

Element properties:

TargetMicrosoft.Windows.Server.2008R2.RemoteDesktopServicesRole
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships 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.Service.RDSessionHost.Discovery" Enabled="true" Target="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Service.RDSessionHost"/>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRoleHostsRDSessionHostRoleService"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
<Query>SELECT Name FROM Win32_ServerFeature WHERE ID = 130</Query>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.Server.2008R2.RemoteDesktopServicesRole.Service.RDSessionHost"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='Name']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>