Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI CIM_PhysicalCapacity QueryContent of WMI CIM_PhysicalCapacity Query.vbsMD5 Hash: 23AF52CF6CE4866D8407F5F3800FAD94 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from CIM_PhysicalCapacity",,48) For Each objItem in colItems Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Name: " & objItem.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |