iSCSI-tároló szolgáltatás állapotának lekérdezése

Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.QueryService (Task)

Az iSCSI-tároló Windows-szolgáltatás pillanatnyi állapotának lekérdezése

Element properties:

TargetMicrosoft.Windows.FileServices.Service.iSCSITarget.6.3
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.QueryService" Accessibility="Public" Target="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3" Enabled="true" Remotable="true">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\sc.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$ query WinTarget</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</ProbeAction>
</Task>