红外光图像人脸部件分割数据集与应用解析
2026/7/25 3:30:23
该脚本借助 WMI(Windows Management Instrumentation)来获取指定卷的Win32_DiskQuota类的所有实例,接着展示(或者写入文件)每个类的选定属性。
Dim cQuotas, oQuota, sOutput Verbose " Connecting to WMI on " & sName Set cQuotas = QueryWMI(sName,"root\cimv2","Select * From Win32_DiskQuota","","") If Not IsObject(cQuotas) Then WScript.Echo " *** Couldn’t connect to WMI on " & sName Else For Each oQuota In cQuotas sOutput = sName & "," & oQuota.QuotaVolume & "," & oQuota.User & "," & oQuota.DiskSpaceUsed & "," & oQuota.Limit & "," & oQuota.WarningLimit & "," & oQuota.Status