Memory Speed and manufacturer

G

Guest

Hi,

I try to get all information about my memory.
I 'm using the following code :
On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_PhysicalMemory")

For Each objItem in colItems
Wscript.Echo "Bank Label: " & objItem.BankLabel
Wscript.Echo "Capacity: " & objItem.Capacity
Wscript.Echo "Data Width: " & objItem.DataWidth
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Device Locator: " & objItem.DeviceLocator
Wscript.Echo "Form Factor: " & objItem.FormFactor
Wscript.Echo "Hot Swappable: " & objItem.HotSwappable
Wscript.Echo "Manufacturer: " & objItem.Manufacturer
Wscript.Echo "Memory Type: " & objItem.MemoryType
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Part Number: " & objItem.PartNumber
Wscript.Echo "Position In Row: " & objItem.PositionInRow
Wscript.Echo "Speed: " & objItem.Speed
Wscript.Echo "Tag: " & objItem.Tag
Wscript.Echo "Type Detail: " & objItem.TypeDetail
Next

Unfortunatly, more information does not appear.
Speed, manufacturer ...

I try this scipt on much computer and system : custom computer, dell, ibm,
windows 2000, xp home, xp professional ..

Could you please explain me why ?
How can get all these information ?
 
J

Jonathan Liu [MSFT]

The Speed and Manuafacturer value is available for systems with a BIOS
version of 2.3 or greater. So if this information is provided then it will
be available via WMI.


WMI access this info from the BIOS. To verify what version of the bios you
have use the Win32_BIOS class.

On my machine that has a BIOS of 2.3, the Speed value is populated, however,
the Manufacturer is not.
 
G

Guest

Hi Jonathan

you can find below my bios information :
For you i can't get manufacturer and speed of my ram ?
Why everest can ?

BiosCharacteristics:
4,7,9,10,11,12,14,15,16,17,19,23,24,25,26,27,28,29,30,32,33,34,36,37,40
BIOSVersion: A M I - 9000507,BIOS Date: 09/07/05 18:16:14 Ver:
08.00.09,BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
BuildNumber:
Caption: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
CodeSet:
CurrentLanguage: en|US|iso8859-1
Description: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
IdentificationCode:
InstallableLanguages: 1

LanguageEdition:
ListOfLanguages: en|US|iso8859-1
Manufacturer: American Megatrends Inc.
Name: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
OtherTargetOS:
PrimaryBIOS: Vrai

ReleaseDate: 09/07/2005
SerialNumber: To Be Filled By O.E.M.
SMBIOSBIOSVersion: 1010.001
SMBIOSMajorVersion: 2
SMBIOSMinorVersion: 3
SMBIOSPresent: Vrai
SoftwareElementID: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
SoftwareElementState: 3
Status: OK
TargetOperatingSystem: 0
Version: A M I - 9000507
--
Regard

Bertaux Florian


Jonathan Liu said:
The Speed and Manuafacturer value is available for systems with a BIOS
version of 2.3 or greater. So if this information is provided then it will
be available via WMI.


WMI access this info from the BIOS. To verify what version of the bios you
have use the Win32_BIOS class.

On my machine that has a BIOS of 2.3, the Speed value is populated, however,
the Manufacturer is not.
 
J

Jonathan Liu [MSFT]

I am not familiar with the Everest Tool so I cannot comment on where the
tools is getting this information. Can you supply some information about
this tool? However, if the SMBIOS does provide this information then WMI is
unable to display.

If this information is located in another part of the system we can
investigate to see if this is the right method to use.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


Bertaux Florian said:
Hi Jonathan

you can find below my bios information :
For you i can't get manufacturer and speed of my ram ?
Why everest can ?

BiosCharacteristics:
4,7,9,10,11,12,14,15,16,17,19,23,24,25,26,27,28,29,30,32,33,34,36,37,40
BIOSVersion: A M I - 9000507,BIOS Date: 09/07/05 18:16:14 Ver:
08.00.09,BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
BuildNumber:
Caption: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
CodeSet:
CurrentLanguage: en|US|iso8859-1
Description: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
IdentificationCode:
InstallableLanguages: 1

LanguageEdition:
ListOfLanguages: en|US|iso8859-1
Manufacturer: American Megatrends Inc.
Name: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
OtherTargetOS:
PrimaryBIOS: Vrai

ReleaseDate: 09/07/2005
SerialNumber: To Be Filled By O.E.M.
SMBIOSBIOSVersion: 1010.001
SMBIOSMajorVersion: 2
SMBIOSMinorVersion: 3
SMBIOSPresent: Vrai
SoftwareElementID: BIOS Date: 09/07/05 18:16:14 Ver: 08.00.09
SoftwareElementState: 3
Status: OK
TargetOperatingSystem: 0
Version: A M I - 9000507
--
Regard

Bertaux Florian
 
J

Jonathan Liu [MSFT]

I mean't to say, "However, if the SMBIOS does NOT provide this information
then WMI is unable to display and return NULL for the property value."


--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top