Upravit

Sdílet prostřednictvím


Win32_Processor class

The Win32_Processor WMI class represents a device that can interpret a sequence of instructions on a computer running on a Windows 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

[Dynamic, Provider("CIMWin32"), UUID("{8502C4BB-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class Win32_Processor : CIM_Processor
{
  uint16   AddressWidth;
  uint16   Architecture;
  string   AssetTag;
  uint16   Availability;
  string   Caption;
  uint32   Characteristics;
  uint32   ConfigManagerErrorCode;
  boolean  ConfigManagerUserConfig;
  uint16   CpuStatus;
  string   CreationClassName;
  uint32   CurrentClockSpeed;
  uint16   CurrentVoltage;
  uint16   DataWidth;
  string   Description;
  string   DeviceID;
  boolean  ErrorCleared;
  string   ErrorDescription;
  uint32   ExtClock;
  uint16   Family;
  datetime InstallDate;
  uint32   L2CacheSize;
  uint32   L2CacheSpeed;
  uint32   L3CacheSize;
  uint32   L3CacheSpeed;
  uint32   LastErrorCode;
  uint16   Level;
  uint16   LoadPercentage;
  string   Manufacturer;
  uint32   MaxClockSpeed;
  string   Name;
  uint32   NumberOfCores;
  uint32   NumberOfEnabledCore;
  uint32   NumberOfLogicalProcessors;
  string   OtherFamilyDescription;
  string   PartNumber;
  string   PNPDeviceID;
  uint16   PowerManagementCapabilities[];
  boolean  PowerManagementSupported;
  string   ProcessorId;
  uint16   ProcessorType;
  uint16   Revision;
  string   Role;
  boolean  SecondLevelAddressTranslationExtensions;
  string   SerialNumber;
  string   SocketDesignation;
  string   Status;
  uint16   StatusInfo;
  string   Stepping;
  string   SystemCreationClassName;
  string   SystemName;
  uint32   ThreadCount;
  string   UniqueId;
  uint16   UpgradeMethod;
  string   Version;
  boolean  VirtualizationFirmwareEnabled;
  boolean  VMMonitorModeExtensions;
  uint32   VoltageCaps;
};

Members

The Win32_Processor class has these types of members:

Methods

The Win32_Processor class has these methods.

Method Description
Reset Not implemented. For more information about how to implement this method, see the Reset method in CIM_Processor.
SetPowerState Not implemented. For more information about how to implement this method, see the SetPowerState method in CIM_Processor.

Properties

The Win32_Processor class has these properties.

AddressWidth
Data type: uint16
Access type: Read-only
Qualifiers: [Units][1] ("bits")
On a 32-bit operating system, the value is 32 and on a 64-bit operating system it is 64.

This property is inherited from CIM_Processor.

Architecture
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Processor architecture used by the platform.
x86 (0)
MIPS (1)
Alpha (2)
PowerPC (3)
ARM (5)
ia64 (6)
Itanium-based systems
x64 (9)
ARM64 (12)
AssetTag
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Asset Tag")
Represents the asset tag of this processor.

This value comes from the Asset Tag member of the Processor Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

Availability
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Operational State\|003.5", "MIB.IETF\|HOST-RESOURCES-MIB.hrDeviceStatus")
Availability and status of the device.

This property is inherited from CIM_LogicalDevice.

Other (1)
Unknown (2)
Running/Full Power (3)
Running or Full Power
Warning (4)
In Test (5)
Not Applicable (6)
Power Off (7)
Off Line (8)
Off Duty (9)
Degraded (10)
Not Installed (11)
Install Error (12)
Power Save - Unknown (13)
The device is known to be in a power save state, but its exact status is unknown.
Power Save - Low Power Mode (14)
The device is in a power save state, but is still functioning, and may exhibit decreased performance.
Power Save - Standby (15)
The device is not functioning, but can be brought to full power quickly.
Power Cycle (16)
Power Save - Warning (17)
The device is in a warning state, though also in a power save state.
Paused (18)
The device is paused.
Not Ready (19)
The device is not ready.
Not Configured (20)
The device is not configured.
Quiesced (21)
The device is quiet.

Caption
Data type: string
Access type: Read-only
Qualifiers: [MaxLen][1] (64), [DisplayName][1] ("Caption")
Short description of an object (a one-line string).

This property is inherited from CIM_ManagedSystemElement.

Characteristics
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Characteristics")
Defines which functions the processor supports.

This value comes from the Processor Characteristics member of the Processor Information structure in the SMBIOS information.

Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

ConfigManagerErrorCode
Data type: uint32
Access type: Read-only
Qualifiers: [Schema][1] ("Win32")
Windows API Configuration Manager error code.

This property is inherited from CIM_LogicalDevice.

This device is working properly. (0)
Device is working properly.
This device is not configured correctly. (1)
Device is not configured correctly.
Windows cannot load the driver for this device. (2)
The driver for this device might be corrupted, or your system may be running low on memory or other resources. (3)
Driver for this device might be corrupted or the system may be low on memory or other resources.
This device is not working properly. One of its drivers or your registry might be corrupted. (4)
Device is not working properly. One of its drivers or the registry might be corrupted.
The driver for this device needs a resource that Windows cannot manage. (5)
Driver for the device requires a resource that Windows cannot manage.
The boot configuration for this device conflicts with other devices. (6)
Boot configuration for the device conflicts with other devices.
Cannot filter. (7)
The driver loader for the device is missing. (8)
Driver loader for the device is missing.
This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly. (9)
Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
This device cannot start. (10)
Device cannot start.
This device failed. (11)
Device failed.
This device cannot find enough free resources that it can use. (12)
Device cannot find enough free resources to use.
Windows cannot verify this device's resources. (13)
Windows cannot verify the device's resources.
This device cannot work properly until you restart your computer. (14)
Device cannot work properly until the computer is restarted.
This device is not working properly because there is probably a re-enumeration problem. (15)
Device is not working properly due to a possible re-enumeration problem.
Windows cannot identify all the resources this device uses. (16)
Windows cannot identify all of the resources that the device uses.
This device is asking for an unknown resource type. (17)
Device is requesting an unknown resource type.
Reinstall the drivers for this device. (18)
Device drivers must be reinstalled.
Failure using the VxD loader. (19)
Your registry might be corrupted. (20)
Registry might be corrupted.
System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device. (21)
System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
This device is disabled. (22)
Device is disabled.
System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation. (23)
System failure. If changing the device driver is ineffective, see the hardware documentation.
This device is not present, is not working properly, or does not have all its drivers installed. (24)
Device is not present, not working properly, or does not have all of its drivers installed.
Windows is still setting up this device. (25)
Windows is still setting up the device.
Windows is still setting up this device. (26)
Windows is still setting up the device.
This device does not have valid log configuration. (27)
Device does not have valid log configuration.
The drivers for this device are not installed. (28)
Device drivers are not installed.
This device is disabled because the firmware of the device did not give it the required resources. (29)
Device is disabled. The device firmware did not provide the required resources.
This device is using an Interrupt Request (IRQ) resource that another device is using. (30)
Device is using an IRQ resource that another device is using.
This device is not working properly because Windows cannot load the drivers required for this device. (31)
Device is not working properly. Windows cannot load the required device drivers.

ConfigManagerUserConfig
Data type: boolean
Access type: Read-only
Qualifiers: [Schema][1] ("Win32")
If TRUE, the device is using a configuration that the user defines.

This property is inherited from CIM_LogicalDevice.

CpuStatus
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Status")
Current status of the processor. Status changes indicate processor usage, but not the physical condition of the processor.

This value comes from the Status member of the Processor Information structure in the SMBIOS information.

Unknown (0)
CPU Enabled (1)
CPU Disabled by User via BIOS Setup (2)
CPU Disabled By BIOS (POST Error) (3)
CPU is Idle (4)
Reserved (5)
Reserved (6)
Other (7)

CreationClassName
Data type: string
Access type: Read-only
Qualifiers: [CIM_Key][2]
Name of the first concrete class that appears in the inheritance chain used to create 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_LogicalDevice.

CurrentClockSpeed
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Processor\|006.6"), [Units][1] ("megahertz")
Current speed of the processor, in MHz. This value comes from the Current Speed member of the Processor Information structure in the SMBIOS information.

This property is inherited from CIM_Processor.

CurrentVoltage
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Voltage"), [Units][1] ("tenth-volts")
Voltage of the processor. If the eighth bit is set, bits 0-6 contain the voltage multiplied by 10. If the eighth bit is not set, then the bit setting in VoltageCaps represents the voltage value. CurrentVoltage is only set when SMBIOS designates a voltage value.

Example: Value for a processor voltage of 1.8 volts is 0x12 (1.8 x 10).

This value comes from the Voltage member of the Processor Information structure in the SMBIOS information.

DataWidth
Data type: uint16
Access type: Read-only
Qualifiers: [Units][1] ("bits")
On a 32-bit processor, the value is 32 and on a 64-bit processor it is 64.

This property is inherited from CIM_Processor.

Description
Data type: string
Access type: Read-only
Qualifiers: [DisplayName][1] ("Description")
Description of the object.

This property is inherited from CIM_ManagedSystemElement.

DeviceID
Data type: string
Access type: Read-only
Qualifiers: [Key][3], [Override][1] ("DeviceId"), [MappingStrings][1] ("Win32API\|System Information Structures\|[SYSTEM_INFO][4]\|dwNumberOfProcessors")
Unique identifier of a processor on the system.

This property is inherited from CIM_LogicalDevice.

ErrorCleared
Data type: boolean
Access type: Read-only
If TRUE, the error reported in LastErrorCode is clear.

This property is inherited from CIM_LogicalDevice.

ErrorDescription
Data type: string
Access type: Read-only
More information about the error recorded in LastErrorCode, and information about corrective actions that can be taken.

This property is inherited from CIM_LogicalDevice.

ExtClock
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|External Clock"), [Units][1] ("megahertz")
External clock frequency, in MHz. If the frequency is unknown, this property is set to NULL.

This value comes from the External Clock member of the Processor Information structure in the SMBIOS information.

Family
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Processor\|014.3"), [ModelCorrespondence][1] ("[CIM_Processor](cim-processor.md).OtherFamilyDescription")
Processor family type.

This value comes from the Processor Information structure in the SMBIOS version information. For SMBIOS versions 2.0 thru 2.5 the value comes from the Processor Family member. For SMBIOS version 2.6+ the value comes from the Processor Family 2 member.

This property is inherited from CIM_Processor.

Other (1)
Unknown (2)
8086 (3)
80286 (4)
80386 (5)
80486 (6)
8087 (7)
80287 (8)
80387 (9)
80487 (10)
Pentium(R) brand (11)
Pentium(R) Pro (12)
Pentium(R) II (13)
Pentium(R) processor with MMX(TM) technology (14)
Celeron(TM) (15)
Pentium(R) II Xeon(TM) (16)
Pentium(R) III (17)
M1 Family (18)
M2 Family (19)
Intel(R) Celeron(R) M processor (20)
Intel(R) Pentium(R) 4 HT processor (21)
K5 Family (24)
K6 Family (25)
K6-2 (26)
K6-3 (27)
AMD Athlon(TM) Processor Family (28)
AMD(R) Duron(TM) Processor (29)
AMD29000 Family (30)
K6-2+ (31)
Power PC Family (32)
Power PC 601 (33)
Power PC 603 (34)
Power PC 603+ (35)
Power PC 604 (36)
Power PC 620 (37)
Power PC X704 (38)
Power PC 750 (39)
Intel(R) Core(TM) Duo processor (40)
Intel(R) Core(TM) Duo mobile processor (41)
Intel(R) Core(TM) Solo mobile processor (42)
Intel(R) Atom(TM) processor (43)
Alpha Family (48)
Alpha 21064 (49)
Alpha 21066 (50)
Alpha 21164 (51)
Alpha 21164PC (52)
Alpha 21164a (53)
Alpha 21264 (54)
Alpha 21364 (55)
AMD Turion(TM) II Ultra Dual-Core Mobile M Processor Family (56)
AMD Turion(TM) II Dual-Core Mobile M Processor Family (57)
AMD Athlon(TM) II Dual-Core Mobile M Processor Family (58)
AMD Opteron(TM) 6100 Series Processor (59)
AMD Opteron(TM) 4100 Series Processor (60)
MIPS Family (64)
MIPS R4000 (65)
MIPS R4200 (66)
MIPS R4400 (67)
MIPS R4600 (68)
MIPS R10000 (69)
SPARC Family (80)
SuperSPARC (81)
microSPARC II (82)
microSPARC IIep (83)
UltraSPARC (84)
UltraSPARC II (85)
UltraSPARC IIi (86)
UltraSPARC III (87)
UltraSPARC IIIi (88)
68040 (96)
68xxx Family (97)
68000 (98)
68010 (99)
68020 (100)
68030 (101)
Hobbit Family (112)
Crusoe(TM) TM5000 Family (120)
Crusoe(TM) TM3000 Family (121)
Efficeon(TM) TM8000 Family (122)
Weitek (128)
Itanium(TM) Processor (130)
AMD Athlon(TM) 64 Processor Family (131)
AMD Opteron(TM) Processor Family (132)
AMD Sempron(TM) Processor Family (133)
AMD Turion(TM) 64 Mobile Technology (134)
Dual-Core AMD Opteron(TM) Processor Family (135)
AMD Athlon(TM) 64 X2 Dual-Core Processor Family (136)
AMD Turion(TM) 64 X2 Mobile Technology (137)
Quad-Core AMD Opteron(TM) Processor Family (138)
Third-Generation AMD Opteron(TM) Processor Family (139)
AMD Phenom(TM) FX Quad-Core Processor Family (140)
AMD Phenom(TM) X4 Quad-Core Processor Family (141)
AMD Phenom(TM) X2 Dual-Core Processor Family (142)
AMD Athlon(TM) X2 Dual-Core Processor Family (143)
PA-RISC Family (144)
PA-RISC 8500 (145)
PA-RISC 8000 (146)
PA-RISC 7300LC (147)
PA-RISC 7200 (148)
PA-RISC 7100LC (149)
PA-RISC 7100 (150)
V30 Family (160)
Quad-Core Intel(R) Xeon(R) processor 3200 Series (161)
Dual-Core Intel(R) Xeon(R) processor 3000 Series (162)
Quad-Core Intel(R) Xeon(R) processor 5300 Series (163)
Dual-Core Intel(R) Xeon(R) processor 5100 Series (164)
Dual-Core Intel(R) Xeon(R) processor 5000 Series (165)
Dual-Core Intel(R) Xeon(R) processor LV (166)
Dual-Core Intel(R) Xeon(R) processor ULV (167)
Dual-Core Intel(R) Xeon(R) processor 7100 Series (168)
Quad-Core Intel(R) Xeon(R) processor 5400 Series (169)
Quad-Core Intel(R) Xeon(R) processor (170)
Dual-Core Intel(R) Xeon(R) processor 5200 Series (171)
Dual-Core Intel(R) Xeon(R) processor 7200 Series (172)
Quad-Core Intel(R) Xeon(R) processor 7300 Series (173)
Quad-Core Intel(R) Xeon(R) processor 7400 Series (174)
Multi-Core Intel(R) Xeon(R) processor 7400 Series (175)
Pentium(R) III Xeon(TM) (176)
Pentium(R) III Processor with Intel(R) SpeedStep(TM) Technology (177)
Pentium(R) 4 (178)
Intel(R) Xeon(TM) (179)
AS400 Family (180)
Intel(R) Xeon(TM) processor MP (181)
AMD Athlon(TM) XP Family (182)
AMD Athlon(TM) MP Family (183)
Intel(R) Itanium(R) 2 (184)
Intel(R) Pentium(R) M processor (185)
Intel(R) Celeron(R) D processor (186)
Intel(R) Pentium(R) D processor (187)
Intel(R) Pentium(R) Processor Extreme Edition (188)
Intel(R) Core(TM) Solo Processor (189)
K7 (190)
Intel(R) Core(TM)2 Duo Processor (191)
Intel(R) Core(TM)2 Solo processor (192)
Intel(R) Core(TM)2 Extreme processor (193)
Intel(R) Core(TM)2 Quad processor (194)
Intel(R) Core(TM)2 Extreme mobile processor (195)
Intel(R) Core(TM)2 Duo mobile processor (196)
Intel(R) Core(TM)2 Solo mobile processor (197)
Intel(R) Core(TM) i7 processor (198)
Dual-Core Intel(R) Celeron(R) Processor (199)
S/390 and zSeries Family (200)
ESA/390 G4 (201)
ESA/390 G5 (202)
ESA/390 G6 (203)
z/Architectur base (204)
Intel(R) Core(TM) i5 processor (205)
Intel(R) Core(TM) i3 processor (206)
Intel(R) Core(TM) i9 processor (207)
VIA C7(TM)-M Processor Family (210)
VIA C7(TM)-D Processor Family (211)
VIA C7(TM) Processor Family (212)
VIA Eden(TM) Processor Family (213)
Multi-Core Intel(R) Xeon(R) processor (214)
Dual-Core Intel(R) Xeon(R) processor 3xxx Series (215)
Quad-Core Intel(R) Xeon(R) processor 3xxx Series (216)
VIA Nano(TM) Processor Family (217)
Dual-Core Intel(R) Xeon(R) processor 5xxx Series (218)
Quad-Core Intel(R) Xeon(R) processor 5xxx Series (219)
Dual-Core Intel(R) Xeon(R) processor 7xxx Series (221)
Quad-Core Intel(R) Xeon(R) processor 7xxx Series (222)
Multi-Core Intel(R) Xeon(R) processor 7xxx Series (223)
Multi-Core Intel(R) Xeon(R) processor 3400 Series (224)
Embedded AMD Opteron(TM) Quad-Core Processor Family (230)
AMD Phenom(TM) Triple-Core Processor Family (231)
AMD Turion(TM) Ultra Dual-Core Mobile Processor Family (232)
AMD Turion(TM) Dual-Core Mobile Processor Family (233)
AMD Athlon(TM) Dual-Core Processor Family (234)
AMD Sempron(TM) SI Processor Family (235)
AMD Phenom(TM) II Processor Family (236)
AMD Athlon(TM) II Processor Family (237)
Six-Core AMD Opteron(TM) Processor Family (238)
AMD Sempron(TM) M Processor Family (239)
i860 (250)
i960 (251)
Reserved (SMBIOS Extension) (254)
Reserved (Un-initialized Flash Content - Lo) (255)
SH-3 (260)
SH-4 (261)
ARM (280)
StrongARM (281)
6x86 (300)
MediaGX (301)
MII (302)
WinChip (320)
DSP (350)
Video Processor (500)
Reserved (For Future Special Purpose Assignment) (65534)
Reserved (Un-initialized Flash Content - Hi) (65535)

InstallDate
Data type: datetime
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|ComponentID\|001.5"), [DisplayName][1] ("Install Date")
Date and time the object is installed. This property does not require a value to indicate that the object is installed. This property is inherited from [CIM_ManagedSystemElement](cim-managedsystemelement.md).
L2CacheSize
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI"), [Units][1] ("kilobytes")
Size of the Level 2 processor cache. A Level 2 cache is an external memory area that has a faster access time than the main RAM memory. This value comes from the L2 Cache Handle member of the Processor Information structure in the SMBIOS information.
L2CacheSpeed
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI"), [Units][1] ("megahertz")
Clock speed of the Level 2 processor cache. A Level 2 cache is an external memory area that has a faster access time than the main RAM memory.

This value comes from the L2 Cache Handle member of the Processor Information structure in the SMBIOS information.

L3CacheSize
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI"), [Units][1] ("kilobytes")
Size of the Level 3 processor cache. A Level 3 cache is an external memory area that has a faster access time than the main RAM memory.

This value comes from the L3 Cache Handle member of the Processor Information structure in the SMBIOS information.

L3CacheSpeed
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI"), [Units][1] ("megahertz")
Clockspeed of the Level 3 property cache. A Level 3 cache is an external memory area that has a faster access time than the main RAM memory.

This value comes from the L3 Cache Handle member of the Processor Information structure in the SMBIOS information.

LastErrorCode
Data type: uint32
Access type: Read-only
Last error code reported by the logical device.

This property is inherited from CIM_LogicalDevice.

Level
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Definition of the processor type. The value depends on the architecture of the processor.
LoadPercentage
Data type: uint16
Access type: Read-only
Qualifiers: [Override][1] ("LoadPercentage"), [MappingStrings][1] ("Win32API\|Performance Data"), [Units][1] ("percent")
Load capacity of each processor, averaged to the last second. Processor loading refers to the total computing burden for each processor at one time.

This property is inherited from CIM_Processor.

Manufacturer
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Name of the processor manufacturer. Example: A. Datum Corporation This value comes from the Processor Manufacturer member of the Processor Information structure in the SMBIOS information.
MaxClockSpeed
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Processor\|006.5"), [Units][1] ("megahertz")
Maximum speed of the processor, in MHz. This value comes from the Max Speed member of the Processor Information structure in the SMBIOS information.

This property is inherited from CIM_Processor.

Name
Data type: string
Access type: Read-only
Qualifiers: [DisplayName][1] ("Name")
Label by which the object is known. When this property is a subclass, it can be overridden to be a key property.

This value comes from the Processor Version member of the Processor Information structure in the SMBIOS information.

This property is inherited from CIM_ManagedSystemElement.

NumberOfCores
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Number of cores for the current instance of the processor. A core is a physical processor on the integrated circuit. For example, in a dual-core processor this property has a value of 2. For more information, see Remarks.

This value comes from the Processor Information structure in the SMBIOS version information. For SMBIOS versions 2.5 thru 2.9 the value comes from the Core Count member. For SMBIOS version 3.0+ the value comes from the Core Count 2 member.

NumberOfEnabledCore
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Core Enabled")
The number of enabled cores per processor socket.

This value comes from the Processor Information structure in the SMBIOS version information. For SMBIOS versions 2.5 thru 2.9 the value comes from the Core Enabled member. For SMBIOS version 3.0+ the value comes from the Core Enabled 2 member. Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

NumberOfLogicalProcessors
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Number of logical processors for the current instance of the processor. For processors capable of hyperthreading, this value includes only the processors which have hyperthreading enabled. For more information, see Remarks.
OtherFamilyDescription
Data type: string
Access type: Read-only
Qualifiers: [MaxLen][1] (64), [ModelCorrespondence][1] ("[CIM_Processor](cim-processor.md).Family")
Processor family type. Used when the Family property is set to 1, which means Other. This string should be set to NULL when the Family property is a value that is not 1.

This property is inherited from CIM_Processor.

PartNumber
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Part Number")
The part number of this processor as set by the manufacturer.

This value comes from the Part Number member of the Processor Information structure in the SMBIOS information. Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

PNPDeviceID
Data type: string
Access type: Read-only
Qualifiers: [Schema][1] ("Win32")
Windows Plug and Play device identifier of the logical device.

This property is inherited from CIM_LogicalDevice. Example: *PNP030b

PowerManagementCapabilities
Data type: uint16 array
Access type: Read-only
Array of the specific power-related capabilities of a logical device. This property is inherited from CIM_LogicalDevice.
Unknown (0)
Not Supported (1)
Disabled (2)
Enabled (3)
The power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
Power Saving Modes Entered Automatically (4)
The device can change its power state based on usage or other criteria.
Power State Settable (5)
The [SetPowerState](setpowerstate-method-in-class-cim-controller.md) method is supported. This method is found on the parent CIM_LogicalDevice class and can be implemented. For more information, see [Designing Managed Object Format (MOF) Classes][5].
Power Cycling Supported (6)
The [SetPowerState](setpowerstate-method-in-class-cim-controller.md) method can be invoked with the *PowerState* parameter set to 5 (Power Cycle).
Timed Power On Supported (7)
Timed Power-On Supported The [SetPowerState](setpowerstate-method-in-class-cim-controller.md) method can be invoked with the *PowerState* parameter set to 5 (Power Cycle) and *Time* set to a specific date and time, or interval, for power-on.
PowerManagementSupported
Data type: boolean
Access type: Read-only
If TRUE, the power of the device can be managed, which means that it can be put into suspend mode, and so on. The property does not indicate that power management features are enabled, but it does indicate that the logical device power can be managed.

This property is inherited from CIM_LogicalDevice.

ProcessorId
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Processor ID")
Processor information that describes the processor features. For an x86 class CPU, the field format depends on the processor support of the CPUID instruction. If the instruction is supported, the property contains 2 (two) DWORD formatted values. The first is an offset of 08h-0Bh, which is the EAX value that a CPUID instruction returns with input EAX set to 1. The second is an offset of 0Ch-0Fh, which is the EDX value that the instruction returns. Only the first two bytes of the property are significant and contain the contents of the DX register at CPU reset—all others are set to 0 (zero), and the contents are in DWORD format.

This value comes from the Processor ID member of the Processor Information structure in the SMBIOS information.

ProcessorType
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Processor Type")
Primary function of the processor.

This value comes from the Processor Type member of the Processor Information structure in the SMBIOS information.

Other (1)
Unknown (2)
Central Processor (3)
Math Processor (4)
DSP Processor (5)
Video Processor (6)

Revision
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
System revision level that depends on the architecture. The system revision level contains the same values as the Version property, but in a numerical format.
Role
Data type: string
Access type: Read-only
Role of the processor.

This property is inherited from CIM_Processor.

Examples: Central Processor or Math Processor

SecondLevelAddressTranslationExtensions
Data type: boolean
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
If True, the processor supports address translation extensions used for virtualization. Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 8 and Windows Server 2012.
SerialNumber
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Serial Number")
The serial number of this processor This value is set by the manufacturer and normally not changeable.

This value comes from the Serial Number member of the Processor Information structure in the SMBIOS information. Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

SocketDesignation
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Socket Designation")
Type of chip socket used on the circuit. Example: J202

This value comes from the Socket Designation member of the Processor Information structure in the SMBIOS information.

Status
Data type: string
Access type: Read-only
Qualifiers: [MaxLen][1] (10), [DisplayName][1] ("Status")
Current status of an object. This property is inherited from [CIM_ManagedSystemElement](cim-managedsystemelement.md). Values include the following:
OK ("OK")
Error ("Error")
Degraded ("Degraded")
Unknown ("Unknown")
Pred Fail ("Pred Fail")
Starting ("Starting")
Stopping ("Stopping")
Service ("Service")
Stressed ("Stressed")
NonRecover ("NonRecover")
No Contact ("No Contact")
Lost Comm ("Lost Comm")
StatusInfo
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Operational State\|003.3")
State of the logical device. If this property does not apply to the logical device, use the value 5, which means Not Applicable.

This property is inherited from CIM_LogicalDevice.

Other (1)
Unknown (2)
Enabled (3)
Disabled (4)
Not Applicable (5)

Stepping
Data type: string
Access type: Read-only
Qualifiers: [ModelCorrespondence][1] ("[CIM_Processor](cim-processor.md).Family")
Revision level of the processor in the processor family.

This property is inherited from CIM_Processor.

SystemCreationClassName
Data type: string
Access type: Read-only
Qualifiers: [Propagated][1] ("[CIM_System](cim-system.md).CreationClassName"), [CIM_Key][2]
Value of the CreationClassName property for the scoping computer.

This property is inherited from CIM_LogicalDevice.

SystemName
Data type: string
Access type: Read-only
Qualifiers: [Propagated][1] ("[CIM_System](cim-system.md).Name"), [CIM_Key][2]
Name of the scoping system.

This property is inherited from CIM_LogicalDevice.

ThreadCount
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Thread Count")
The number of threads per processor socket.

This value comes from the Processor Information structure in the SMBIOS version information. For SMBIOS versions 2.5 thru 2.9 the value comes from the Thread Count member. For SMBIOS version 3.0+ the value comes from the Thread Count 2 member. Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows Server 2016 and Windows 10.

UniqueId
Data type: string
Access type: Read-only
Globally unique identifier for the processor. This identifier may only be unique within a processor family.

This property is inherited from CIM_Processor.

UpgradeMethod
Data type: uint16
Access type: Read-only
Qualifiers: [MappingStrings][1] ("MIF.DMTF\|Processor\|006.7")
CPU socket information, including the method by which this processor can be upgraded, if upgrades are supported. This property is an integer enumeration.

This value comes from the Processor Upgrade member of the Processor Information structure in the SMBIOS information.

This property is inherited from CIM_Processor.

Other (1)
Unknown (2)
Daughter Board (3)
ZIF Socket (4)
Replacement/Piggy Back (5)
Replacement or Piggy Back
None (6)
LIF Socket (7)
Slot 1 (8)
Slot 2 (9)
370 Pin Socket (10)
Slot A (11)
Slot M (12)
Socket 423 (13)
Socket A (Socket 462) (14)
Socket 478 (15)
Socket 754 (16)
Socket 940 (17)
Socket 939 (18)

Version
Data type: string
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
Processor revision number that depends on the architecture. Example: Model 2, Stepping 12
VirtualizationFirmwareEnabled
Data type: boolean
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
If True, the Firmware has enabled virtualization extensions. Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 8 and Windows Server 2012.
VMMonitorModeExtensions
Data type: boolean
Access type: Read-only
Qualifiers: [MappingStrings][1] ("WMI")
If True, the processor supports Intel or AMD Virtual Machine Monitor extensions. Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is not supported before Windows 8 and Windows Server 2012.
VoltageCaps
Data type: uint32
Access type: Read-only
Qualifiers: [MappingStrings][1] ("SMBIOS\|Type 4\|Processor Information\|Voltage"), [Units][1] ("volts")
Voltage capabilities of the processor. Bits 0-3 of the field represent specific voltages that the processor socket can accept. All other bits should be set to 0 (zero). The socket is configurable if multiple bits are set. For more information about the actual voltage at which the processor is running, see CurrentVoltage. If the property is NULL, then the voltage capabilities are unknown.
5 (1)
5 volts
3.3 (2)
3.3 volts
2.9 (4)
2.9 volts

Remarks

On a multiprocessor computer, one instance of the Win32_Processor class exists for each processor.

To determine the total number of processor instances associated with a computer system object, use the Win32_ComputerSystemProcessor association class.

To determine if hyperthreading is enabled for the processor, compare NumberOfLogicalProcessors and NumberOfCores. If hyperthreading is enabled in the BIOS for the processor, then NumberOfCores is less than NumberOfLogicalProcessors. For example, a dual-processor system that contains two processors enabled for hyperthreading can run four threads or programs or simultaneously. In this case, NumberOfCores is 2 and NumberOfLogicalProcessors is 4.

The Win32_Processor class is derived from CIM_Processor.

Examples

The "Multithreaded System Asset Gathering with PowerShell" PowerShell sample uses a number of classes, including Win32_ComputerSystemProcessor, to retrieve data from a system.

The following VBScript code example retrieves data about the operating system version and the processor it is running on from Win32_Processor, Win32_ComputerSystem, and Win32_OperatingSystem. This example requires Windows Vista or later.


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


Set colOSes = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")
For Each objOS in colOSes
  Wscript.Echo "Computer Name: " & objOS.CSName

  Wscript.Echo "Operating System"
  Wscript.Echo "  Caption: " & objOS.Caption 'Name
  Wscript.Echo "  Version: " & objOS.Version 'Version & build
  Wscript.Echo "  BuildNumber: " & objOS.BuildNumber 'Build
  Wscript.Echo "  BuildType: " & objOS.BuildType
  Wscript.Echo "  OSProductSuite: " & objOS.OSProductsuite 'OS Product suite
  Wscript.Echo "  OSArchitecture: " & objOS.OSArchitecture
  Wscript.Echo "  OSType: " & objOS.OSType
  Wscript.Echo "  OtherTypeDescription: " & objOS.OtherTypeDescription
  WScript.Echo "  ServicePackMajorVersion: " & objOS.ServicePackMajorVersion & "." & _
   objOS.ServicePackMinorVersion

Next

Wscript.Echo "Processors"

Set colCompSys = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
For Each objCS in colCompSys
  WScript.Echo "  NumberOfProcessors: " & objCS.NumberOfProcessors
  WScript.Echo "  NumberOfLogicalProcessors: " & objCS.NumberOfLogicalProcessors
  WScript.Echo "  PCSystemType: " & objCS.PCSystemType
Next

Set colProcessors = objWMIService.ExecQuery("Select * from Win32_Processor")
For Each objProcessor in colProcessors
  WScript.Echo "  Manufacturer: " & objProcessor.Manufacturer
  WScript.Echo "  Name: " & objProcessor.Name
  WScript.Echo "  Description: " & objProcessor.Description
  WScript.Echo "  ProcessorID: " & objProcessor.ProcessorID
  WScript.Echo "  Architecture: " & objProcessor.Architecture
  WScript.Echo "  AddressWidth: " & objProcessor.AddressWidth
  WScript.Echo "  NumberOfCores: " & objProcessor.NumberOfCores
  WScript.Echo "  DataWidth: " & objProcessor.DataWidth
  WScript.Echo "  Family: " & objProcessor.Family
  WScript.Echo "  MaximumClockSpeed: " & objProcessor.MaxClockSpeed
Next

The following VBScript code example shows how to use Win32_Processor to determine the computer architecture.

Set objProc = GetObject("winmgmts:root\cimv2:Win32_Processor='cpu0'")

If objProc.Architecture = 0 Then
    WScript.Echo "x86"
ElseIf objProc.Architecture = 6 Then
    WScript.Echo "Itanium"
Else
    WScript.Echo "Unknown"
End If

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Namespace Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

[CIM_Processor](cim-processor.md)
[Computer System Hardware Classes](computer-system-hardware-classes.md)
[WMI Tasks: Computer Hardware](../wmisdk/wmi-tasks--computer-hardware.md)