Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find type and number of memory modules
Message
Information générale
Forum:
Windows
Catégorie:
Équipement
Divers
Thread ID:
01484145
Message ID:
01484182
Vues:
36
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform