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:
01484298
Vues:
27
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform