Individua destinazione iSCSI in Windows Server 2012 R2

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

Individua un'istanza della classe Destinazione iSCSI quando la funzionalità Destinazione iSCSI è installata.

Knowledge Base article:

Riepilogo

Questa regola di individuazione individua un'istanza del servizio Destinazione iSCSI dove è installato. La regola è associata al ruolo Servizi file Windows Server 2012 R2 e sarà eseguita solo nei server in cui il ruolo Servizi file è abilitato e individuato. Destinazione iSCSI Target viene fornita con Windows Server 2012 R2.

Element properties:

TargetMicrosoft.Windows.FileServices.6.3.FileServer
EnabledTrue
Frequency14400
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.FileServices.Service.iSCSITarget.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.iSCSITarget.6.3"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
<Query>SELECT ID, Name FROM Win32_ServerFeature WHERE ID = '435'</Query>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3"]$</ClassId>
<InstanceSettings>
<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='Microsoft.Windows.FileServices.Service.iSCSITarget.6.3']/IQN$</Name>
<Value>iqn.1991-05.com.microsoft:$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='System!System.Entity']/DisplayName$</Name>
<Value>$Target/Property[Type='System!System.Entity']/DisplayName$ (iSCSI Target)</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>