运行 fsutil 来获取有关此卷的信息
此任务执行“FSINFO”命令行实用程序,该实用程序列出指定卷的信息,例如:文件系统、卷是否支持区分大小写的文件名、文件名中的 unicode 或磁盘配额。
Target | Microsoft.Windows.Server.2003.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.2003.LogicalDisk.VolumeInfo.Task" Target="Microsoft.Windows.Server.2003.LogicalDisk" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\fsutil.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>fsinfo volumeinfo "$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$"\</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>