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 ("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 ("WMI")
Processor architecture used by the platform.
- AssetTag
-
- Data type: string
- Access type: Read-only
- Qualifiers: MappingStrings ("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 Technical Preview and Windows 10.
- Availability
-
- Data type: uint16
- Access type: Read-only
- Qualifiers: MappingStrings ("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.
-
Running or Full Power
-
The device is known to be in a power save state, but its exact status is unknown.
-
The device is in a power save state, but is still functioning, and may exhibit decreased performance.
-
The device is not functioning, but can be brought to full power quickly.
-
The device is in a warning state, though also in a power save state.
-
The device is paused.
-
The device is not ready.
-
The device is not configured.
-
The device is quiet.
- Caption
-
- Data type: string
- Access type: Read-only
- Qualifiers: MaxLen (64), DisplayName ("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 ("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 Technical Preview and Windows 10.
- ConfigManagerErrorCode
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: Schema ("Win32")
Windows API Configuration Manager error code.
This property is inherited from CIM_LogicalDevice.
-
Device is working properly.
-
Device is not configured correctly.
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.
-
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.
-
Device cannot start.
-
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 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.
-
Device is requesting an unknown resource type.
-
Device drivers must be reinstalled.
-
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.
-
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 the device.
-
Windows is still setting up the device.
-
Device does not have valid log configuration.
-
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 ("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 ("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.
- CreationClassName
-
- Data type: string
- Access type: Read-only
- Qualifiers: CIM_Key
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 ("MIF.DMTF|Processor|006.6"), Units ("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 ("SMBIOS|Type 4|Processor Information|Voltage"), Units ("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 ("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 ("Description")
Description of the object.
This property is inherited from CIM_ManagedSystemElement.
- DeviceID
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key, Override ("DeviceId"), MappingStrings ("Win32API|System Information Structures|SYSTEM_INFO|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 ("SMBIOS|Type 4|Processor Information|External Clock"), Units ("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 ("MIF.DMTF|Processor|014.3"), ModelCorrespondence ("CIM_Processor.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.
-
Intel386™ Processor
-
Intel486™ Processor
-
Pentium Brand
-
Pentium Pro
-
Pentium II
-
Pentium Processor with MMX™ Technology
-
Celeron™
-
Pentium II Xeon™
-
Pentium III
-
AMD Duron™ Processor Family
-
K5 Family
-
K6 Family
-
K6-2
-
K6-3
-
AMD Athlon™ Processor Family
-
AMD2900 Family
-
Crusoe™ TM5000 Family
-
Crusoe™ TM3000 Family
-
Efficeon™ TM8000 Family
-
Itanium™ Processor
-
AMD Athlon™ 64 Processor Family
-
AMD Opteron™ Processor Family
-
Pentium III Xeon™ Processor
Pentium(R) III Processor with Intel(R) SpeedStep(TM) Technology (177)
-
Pentium III Processor with Intel SpeedStep™ Technology
-
Pentium 4
-
Intel Xeon™
-
Intel Xeon™ Processor MP
-
AMD Athlon™ XP Family
-
AMD Athlon™ MP Family
-
Intel Itanium 2
- 198
-
Intel Core™ i7-2760QM
- InstallDate
-
- Data type: datetime
- Access type: Read-only
- Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("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.
- L2CacheSize
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: MappingStrings ("WMI"), Units ("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 ("WMI"), Units ("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 ("WMI"), Units ("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 ("WMI"), Units ("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 ("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 ("LoadPercentage"), MappingStrings ("Win32API|Performance Data"), Units ("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 ("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 ("MIF.DMTF|Processor|006.5"), Units ("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 ("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 ("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 ("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 Technical Preview and Windows 10.
- NumberOfLogicalProcessors
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: MappingStrings ("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 (64), ModelCorrespondence ("CIM_Processor.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 ("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 Technical Preview and Windows 10.
- PNPDeviceID
-
- Data type: string
- Access type: Read-only
- Qualifiers: Schema ("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.
-
The power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
-
The device can change its power state based on usage or other criteria.
-
The SetPowerState 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.
-
The SetPowerState method can be invoked with the PowerState parameter set to 5 (Power Cycle).
-
Timed Power-On Supported
The SetPowerState 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 ("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 ("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.
- Revision
-
- Data type: uint16
- Access type: Read-only
- Qualifiers: MappingStrings ("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 ("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 ("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 Technical Preview and Windows 10.
- SocketDesignation
-
- Data type: string
- Access type: Read-only
- Qualifiers: MappingStrings ("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 (10), DisplayName ("Status")
Current status of an object. This property is inherited from CIM_ManagedSystemElement.
Values include the following:
- StatusInfo
-
- Data type: uint16
- Access type: Read-only
- Qualifiers: MappingStrings ("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.
- Stepping
-
- Data type: string
- Access type: Read-only
- Qualifiers: ModelCorrespondence ("CIM_Processor.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 ("CIM_System.CreationClassName"), CIM_Key
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 ("CIM_System.Name"), CIM_Key
Name of the scoping system.
This property is inherited from CIM_LogicalDevice.
- ThreadCount
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: MappingStrings ("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 Technical Preview 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 ("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.
- Version
-
- Data type: string
- Access type: Read-only
- Qualifiers: MappingStrings ("WMI")
Processor revision number that depends on the architecture.
Example: Model 2, Stepping 12
- VirtualizationFirmwareEnabled
-
- Data type: boolean
- Access type: Read-only
- Qualifiers: MappingStrings ("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 ("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 ("SMBIOS|Type 4|Processor Information|Voltage"), Units ("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.
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 WMI Information Retriever VBScript code example on the TechNet Gallery uses the Win32_ComputerSystemProcessor class to retrieve processor information from a number of remote computers.
The Get-ComputerInfo - Query Computer Info From Local/Remote Computers - (WMI) PowerShell sample on TechNet Gallery uses a number of calls to hardware and software, including Win32_ComputerSystemProcessor, to display information about a local or remote system.
The Multithreaded System Asset Gathering with Powershell PowerShell example on TechNet gallery 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
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Namespace |
Root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also