Executar o chkdsk no disco lógico e apresentar os resultados
Esta Tarefa executa o utilitário de linha de comandos “CHKDSK”, que lista e corrige erros no disco físico.
Target | Microsoft.Windows.Server.2008.LogicalDisk |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.2008.LogicalDisk.Chkdsk.Task" Target="Server2008!Microsoft.Windows.Server.2008.LogicalDisk" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\chkdsk.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>"$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$"</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>