PowerShell 查询指定盘符 使用百分比 ,或者剩余百分2017年12月22日 在 Powershell基础 标签 磁盘 来自 PowerShell交流中心 › 分类: Powershell基础 › PowerShell 查询指定盘符 使用百分比 ,或者剩余百分 0 赞 踩 robo asked 7 年 ago Get-WMIObject Win32_LogicalDisk -Filter “DeviceID=’F:'” 我在使用这个命令的时候,想只显示 FreeSpace 后面的值,不知道怎么写。请教一下。谢谢 1 Answers 0 赞 踩 Mooser Lee 管理员 answered 7 年 ago PS> (Get-WMIObject Win32_LogicalDisk -Filter "DeviceID='E:'").FreeSpace 171230994432 robo replied 7 年 ago 感谢