Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find type and number of memory modules
Message
 
To
06/10/2010 10:03:11
General information
Forum:
Windows
Category:
Hardware
Miscellaneous
Thread ID:
01484145
Message ID:
01484182
Views:
38
Hi Alejandro,

Quick and Dirt code
local loRAMs, loRAM, loWMI, loLocator

clear
loLocator			= CREATEOBJECT('WBEMScripting.SWBEMLocator')
loWMI				= loLocator.ConnectServer()

loRAMs				= loWMI.ExecQuery('Select * from Win32_PhysicalMemory')

? loRAMs.Count
for each loRAM in loRAMs
	? loRAM.DeviceLocator
	? loRAM.BankLabel
	? loRAM.Capacity
	? loRAM.Caption
	? loRAM.DataWidth
	? loRAM.Description
	? loRAM.DeviceLocator
	? loRAM.FormFactor
	? loRAM.HotSwappable
	? loRAM.InterleaveDataDepth
	? loRAM.InterleavePosition
	? loRAM.Manufacturer
	? loRAM.MemoryType
	? loRAM.Model
	? loRAM.Name
	? loRAM.OtherIdentifyingInfo
	? loRAM.PartNumber
	? loRAM.PositionInRow
	? loRAM.PoweredOn
	? loRAM.Removable
	? loRAM.Replaceable
	? loRAM.SerialNumber
	? loRAM.SKU
	? loRAM.Speed
	? loRAM.Status
	? loRAM.Tag
	? loRAM.TotalWidth
	? loRAM.TypeDetail
	? loRAM.Version
endfor
[Update] Oh, you did not want this programmatically, my bad, did not realize the forum[/update]
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform