memory banks?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jason Benway (benwayj_at_nospam.ghsp.com.removethis)
Date: 09/28/04


Date: Tue, 28 Sep 2004 10:05:55 -0400

what I'm looking for is how many ram slots the motherboard has and what size
sticks are currently installed.
this shows information about currently installed RAM, but not the unused
slots. Could someone please help finish the puzzle.

thanks,jb

I found this on MSDN:

----------------------------
strComputer = inputbox("Enter Computer Name")
'Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set oWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

sData = "[Physical Memory]" & vbCrLf
sData = sData & "Bank Label, Capacity, Description," _
 & "DeviceLocator, DataWidth, FormFactor" & vbCrLf

for each memory in oWMI.InstancesOf("Win32_PhysicalMemory")
 counter = counter + 1
 sData = sData & memory.BankLabel & "," & CStr(memory.capacity) _
 & "," & memory.Description & "," & memory.DeviceLocator _
 & "," & memory.DataWidth & "," & memory.FormFactor & vbCrLf
next
wscript.echo counter
wscript.echo sData

--------------------------------



Relevant Pages

  • Getting RAM information
    ... what I'm looking for is how many ram slots the motherboard has and what size ... this shows information about currently installed RAM, ... wscript.echo sData ...
    (microsoft.public.windowsxp.wmi)
  • Getting RAM information
    ... Set SystemSet = objService.ExecQuery("SELECT * FROM ... >what I'm looking for is how many ram slots the ... motherboard has and what size ... >this shows information about currently installed RAM, ...
    (microsoft.public.windowsxp.wmi)
  • Upgrade advice?
    ... running WinXP in a VMWare virtual machine ... CPU upgrade ... maxing out the two ram slots ... Can we take the "buy a new motherboard, ...
    (uk.comp.homebuilt)
  • Re: WINXP with AMD 64 Athlon 3400+
    ... Did you read the manual that came with your motherboard, ... section that deals with populating all three RAM slots? ... Hint: ...
    (microsoft.public.windowsxp.general)
  • Re: Mac Pro vs 1.8 Dual G5...
    ... J. J. Lodder wrote: ... but afaik only on the 1.6 GB model. ... Although the later dual G5 1.8 got the old 1.6 motherboard with slower ... caches and the 4GB RAM slots. ...
    (uk.comp.sys.mac)