Windows Server 2012 R2'de Çalışma Klasörleri hizmetini keşfetme

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

Çalışma Klasörleri hizmeti özelliği yüklü olduğunda, Çalışma Klasörleri hizmetinin bir örneğini keşfeder.

Knowledge Base article:

Özet

Bu keşif kuralı, yüklü olduğu ortamda Çalışma Klasörleri hizmetinin bir örneğini bulur. Kural, Windows Server 2012 R2 Dosya Hizmetleri rolünü hedef alır ve yalnızca Dosya Hizmetleri rolü etkinleştirilmiş ve keşfedilmiş sunucularda çalışır. Çalışma Klasörleri, Windows Server 2012 R2 sürümünün bir parçası olarak gönderilir.

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>