Découvrez le service des dossiers de travail sur Windows Server 2012 R2

Microsoft.Windows.FileServices.Service.WorkFolders.6.3.Discovery (Discovery)

Découvre une instance du service des dossiers de travail lorsque la fonctionnalité du service de dossiers de travail est installée

Knowledge Base article:

Résumé

Cette règle de détection détecte une instance du service de dossiers de travail lorsqu'il est installé. La règle est ciblée au rôle Services de fichiers Windows Server 2012 R2 et s'exécutera uniquement sur les serveurs qui ont le rôle Services de fichiers activé et détecté. La fonctionnalité de dossiers de travail est expédiée dans la version Windows Server 2012 R2.

Element properties:

TargetMicrosoft.Windows.FileServices.6.3.FileServer
EnabledTrue
Frequency14400
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.WmiProviderWithClassAndRelationshipSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.Windows.FileServices.Service.WorkFolders.6.3.Discovery" Enabled="true" Target="FileServices63!Microsoft.Windows.FileServices.6.3.FileServer" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.FileServices.Service.WorkFolders.6.3">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="FileServices!Microsoft.Windows.FileServer.Contains.Service"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassAndRelationshipSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
<Query>SELECT ID, Name FROM Win32_ServerFeature WHERE ID = '486'</Query>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.FileServices.Service.WorkFolders.6.3"]$</ClassId>
<ClassInstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='System!System.Entity']/DisplayName$</Name>
<Value>$Target/Property[Type='System!System.Entity']/DisplayName$ (WorkFolders)</Value>
</Setting>
</Settings>
</ClassInstanceSettings>
<RelationshipId>$MPElement[Name='FileServices!Microsoft.Windows.FileServer.Contains.Service']$</RelationshipId>
<RelationshipInstanceSettings/>
<SourceTypeId>$MPElement[Name='FileServices63!Microsoft.Windows.FileServices.6.3.FileServer']$</SourceTypeId>
<SourceRoleSettings>
<Settings>
<Setting>
<Name>$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</SourceRoleSettings>
<TargetTypeId>$MPElement[Name="Microsoft.Windows.FileServices.Service.WorkFolders.6.3"]$</TargetTypeId>
<TargetRoleSettings>
<Settings>
<Setting>
<Name>$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</TargetRoleSettings>
</DataSource>
</Discovery>