Exécuter Chkntfs
Microsoft.Windows.Server.10.0.LogicalDisk.Chkntfs.Task (Task)
Exécution d'une commande chkntfs sur le disque logique et affichage des résultats.
Element properties: Member Modules:
Source Code: <Task ID="Microsoft.Windows.Server.10.0.LogicalDisk.Chkntfs.Task" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\CMD.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>/c $file/checkntfs.cmd$</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files>
<File>
<Name>checkntfs.cmd</Name>
<Contents><Script>
@echo off
if exist %WINDIR%\System32\chkntfs.exe (
%WINDIR%\System32\chkntfs.exe "$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$"
goto end
)
echo chkntfs is not supported on this Operating System.
:end
</Script> </Contents>
<Unicode>false</Unicode>
</File>
</Files>
</ProbeAction>
</Task>