卷信息

Microsoft.Windows.Server.2003.LogicalDisk.VolumeInfo.Task (Task)

运行 fsutil 来获取有关此卷的信息

Knowledge Base article:

摘要

此任务执行“FSINFO”命令行实用程序,该实用程序列出指定卷的信息,例如:文件系统、卷是否支持区分大小写的文件名、文件名中的 unicode 或磁盘配额。

Element properties:

TargetMicrosoft.Windows.Server.2003.LogicalDisk
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<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>