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:
Member Modules:
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>