Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find type and number of memory modules
Message
From
07/10/2010 01:36:02
 
General information
Forum:
Windows
Category:
Hardware
Miscellaneous
Thread ID:
01484145
Message ID:
01484298
Views:
26
Hola Hugo,

I didn't ask for code, but I'm glad you provided it. It's valuable to know stuff like this.

Thanks,

Alex


>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]
Previous
Reply
Map
View

Click here to load this message in the networking platform