Détection de la passerelle des services Bureau à distance

Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway.Discovery (Discovery)

Cet objet détecte tous les ordinateurs qui exécutent le service de rôle Passerelle des services Bureau à distance.

Knowledge Base article:

Résumé

Cet objet exécute une requête WMI sur l’ordinateur distant afin de détecter tous les ordinateurs dotés du service de rôle Passerelle des services Bureau à distance.

Element properties:

TargetMicrosoft.Windows.Server.10.0.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.10.0.RemoteDesktopServicesRole.Service.RDGateway.Discovery" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway"/>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.10.0.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 = 132</Query>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway"]$</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>