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