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