Win32_PhysicalMemory class
The Win32_PhysicalMemory WMI class represents a physical memory device located on a computer system and available to the operating system.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
class Win32_PhysicalMemory : CIM_PhysicalMemory
{
string BankLabel;
uint64 Capacity;
string Caption;
string CreationClassName;
uint16 DataWidth;
string Description;
string DeviceLocator;
uint16 FormFactor;
boolean HotSwappable;
datetime InstallDate;
uint16 InterleaveDataDepth;
uint32 InterleavePosition;
string Manufacturer;
uint16 MemoryType;
string Model;
string Name;
string OtherIdentifyingInfo;
string PartNumber;
uint32 PositionInRow;
boolean PoweredOn;
boolean Removable;
boolean Replaceable;
string SerialNumber;
string SKU;
uint32 Speed;
string Status;
string Tag;
uint16 TotalWidth;
uint16 TypeDetail;
string Version;
};
Members
The Win32_PhysicalMemory class has these types of members:
Properties
The Win32_PhysicalMemory class has these properties.
- BankLabel
-
- Data type: string
- Access type: Read-only
Physically labeled bank where the memory is located. This property is inherited from CIM_PhysicalMemory.
Examples: "Bank 0", "Bank A"
- Capacity
-
- Data type: uint64
- Access type: Read-only
Total capacity of the physical memory—in bytes. This property is inherited from CIM_PhysicalMemory.
For more information about using uint64 values in scripts, see Scripting in WMI.
- Caption
-
- Data type: string
- Access type: Read-only
Short description of the object—a one-line string. This property is inherited from CIM_ManagedSystemElement.
- CreationClassName
-
Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be identified uniquely. This property is inherited from CIM_PhysicalElement.
- DataWidth
-
- Data type: uint16
- Access type: Read-only
Data width of the physical memory—in bits. A data width of 0 (zero) and a total width of 8 (eight) indicates that the memory is used solely to provide error correction bits. This property is inherited from CIM_PhysicalMemory.
- Description
-
- Data type: string
- Access type: Read-only
Description of an object. This property is inherited from CIM_ManagedSystemElement.
- DeviceLocator
-
- Data type: string
- Access type: Read-only
Label of the socket or circuit board that holds the memory.
Example: "SIMM 3"
- FormFactor
-
- Data type: uint16
- Access type: Read-only
Implementation form factor for the chip. This property is inherited from CIM_Chip.
Value Meaning - 0
Unknown
- 1
Other
- 2
SIP
- 3
DIP
- 4
ZIP
- 5
SOJ
- 6
Proprietary
- 7
SIMM
- 8
DIMM
- 9
TSOP
- 10
PGA
- 11
RIMM
- 12
SODIMM
- 13
SRIMM
- 14
SMD
- 15
SSMP
- 16
QFP
- 17
TQFP
- 18
SOIC
- 19
LCC
- 20
PLCC
- 21
BGA
- 22
FPBGA
- 23
LGA
- HotSwappable
-
- Data type: boolean
- Access type: Read-only
If TRUE, this physical media component can be replaced with a physically different but equivalent one while the containing package has the power applied. For example, a fan component may be designed to be hot-swapped. All components that can be hot-swapped are inherently removable and replaceable. This property is inherited from CIM_PhysicalComponent.
- InstallDate
-
- Data type: datetime
- Access type: Read-only
Date and time the object is installed. This property does not need a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.
- InterleaveDataDepth
-
- Data type: uint16
- Access type: Read-only
Unsigned 16-bit integer maximum number of consecutive rows of data that are accessed in a single interleaved transfer from the memory device. If the value is 0 (zero), the memory is not interleaved.
- InterleavePosition
-
- Data type: uint32
- Access type: Read-only
Position of the physical memory in an interleave. For example, in a 2:1 interleave, a value of "1" indicates that the memory is in the "even" position. This property is inherited from CIM_PhysicalMemory.
Value Meaning - 0
Noninterleaved
- 1
First position
- 2
Second position
- Manufacturer
-
- Data type: string
- Access type: Read-only
Name of the organization responsible for producing the physical element. This property is inherited from CIM_PhysicalElement.
- MemoryType
-
- Data type: uint16
- Access type: Read-only
Type of physical memory. This property is inherited from CIM_PhysicalMemory.
Value Meaning - 0
Unknown
- 1
Other
- 2
DRAM
- 3
Synchronous DRAM
- 4
Cache DRAM
- 5
EDO
- 6
EDRAM
- 7
VRAM
- 8
SRAM
- 9
RAM
- 10
ROM
- 11
Flash
- 12
EEPROM
- 13
FEPROM
- 14
EPROM
- 15
CDRAM
- 16
3DRAM
- 17
SDRAM
- 18
SGRAM
- 19
RDRAM
- 20
DDR
- 21
DDR-2
- Model
-
- Data type: string
- Access type: Read-only
Name for the physical element. This property is inherited from CIM_PhysicalElement.
- Name
-
- Data type: string
- Access type: Read-only
Label for the object. When subclassed, the property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.
- OtherIdentifyingInfo
-
- Data type: string
- Access type: Read-only
Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar code data associated with an element that also has an asset tag. If only bar code data is available and unique or able to be used as an element key, this property is be NULL and the bar code data is used as the class key in the tag property. This property is inherited from CIM_PhysicalElement.
- PartNumber
-
- Data type: string
- Access type: Read-only
Part number assigned by the organization responsible for producing or manufacturing the physical element. This property is inherited from CIM_PhysicalElement.
- PositionInRow
-
- Data type: uint32
- Access type: Read-only
Position of the physical memory in a row. For example, if it takes two 8-bit memory devices to form a 16-bit row, then a value of 2 (two) means that this memory is the second device—0 (zero) is an invalid value for this property. This property is inherited from CIM_PhysicalMemory.
- PoweredOn
-
- Data type: boolean
- Access type: Read-only
If TRUE, the physical element is powered on. This property is inherited from CIM_PhysicalElement.
- Removable
-
- Data type: boolean
- Access type: Read-only
If TRUE, a physical component is removable (if it is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging). A component can still be removable if power must be "off" to perform the removal. If power can be "on" and the component removed, then the element is removable and can be hot-swapped. For example, an upgradable processor chip is removable. This property is inherited from CIM_PhysicalComponent.
- Replaceable
-
- Data type: boolean
- Access type: Read-only
If TRUE, this physical media component can be replaced with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. All removable components are inherently replaceable. This property is inherited from CIM_PhysicalComponent.
- SerialNumber
-
- Data type: string
- Access type: Read-only
Manufacturer-allocated number to identify the physical element. This property is inherited from CIM_PhysicalElement.
- SKU
-
- Data type: string
- Access type: Read-only
Stock keeping unit number for the physical element. This property is inherited from CIM_PhysicalElement.
- Speed
-
- Data type: uint32
- Access type: Read-only
Speed of the physical memory—in nanoseconds. This property is inherited from CIM_PhysicalMemory.
- Status
-
- Data type: string
- Access type: Read-only
Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.
The values are:
- "OK"
- "Error"
- "Degraded"
- "Unknown"
- "Pred Fail"
- "Starting"
- "Stopping"
- "Service"
- "Stressed"
- "NonRecover"
- "No Contact"
- "Lost Comm"
- Tag
-
Unique identifier for the physical memory device that is represented by an instance of Win32_PhysicalMemory. This property is inherited from CIM_PhysicalElement.
Example: "Physical Memory 1"
- TotalWidth
-
- Data type: uint16
- Access type: Read-only
Total width, in bits, of the physical memory, including check or error correction bits. If there are no error correction bits, the value in this property should match what is specified for the DataWidth property. This property is inherited from CIM_PhysicalMemory.
- TypeDetail
-
- Data type: uint16
- Access type: Read-only
Type of physical memory represented.
Value (Dec/Hex) Meaning - 1 (0x1)
Reserved
- 2 (0x2)
Other
- 4 (0x4)
Unknown
- 8 (0x8)
Fast-paged
- 16 (0x10)
Static column
- 32 (0x20)
Pseudo-static
- 64 (0x40)
RAMBUS
- 128 (0x80)
Synchronous
- 256 (0x100)
CMOS
- 512 (0x200)
EDO
- 1024 (0x400)
Window DRAM
- 2048 (0x800)
Cache DRAM
- 4096 (0x1000)
Nonvolatile
- Version
-
- Data type: string
- Access type: Read-only
Version of the physical element. This property is inherited from CIM_PhysicalElement.
Remarks
The Win32_PhysicalMemory class is derived from CIM_PhysicalMemory.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012