CIM_Processor

CIM Processor
root/cimv2abstract

The CIM_Processor class represents the capabilities and management of the processor logical device.

On this page

Main example

List instances

# Abstract class: Get-CimInstance returns the instances of its subclasses
Get-CimInstance -ClassName CIM_Processor |
    Select-Object -Property DeviceID, Description, Status, InstallDate

Abstract class: it has no instances of its own. Get-CimInstance returns the instances of its subclasses (Win32_Processor).

Examples

Decode numeric values

# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}

Get-CimInstance -ClassName CIM_Processor |
    Select-Object -Property @(
        'DeviceID'
        'Description'
        'Status'
        'InstallDate'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )

Query a remote computer (CIM session)

review before running
# Name of the remote computer
$computerName = 'SERVER01'
# The CIM session (WSMan by default) can be reused for several queries
$cimSession = New-CimSession -ComputerName $computerName
try {
    Get-CimInstance -CimSession $cimSession -ClassName CIM_Processor |
        Select-Object -Property DeviceID, Description, Status, InstallDate
} finally {
    Remove-CimSession -CimSession $cimSession
}

WSMan (WinRM) is used by default. For a host without WinRM, create the session with -SessionOption (New-CimSessionOption -Protocol Dcom). Add -Credential to use another account.

Show the class structure

# Class structure: properties, types and flags (Key, ReadOnly…)
$cimClass = Get-CimClass -ClassName CIM_Processor
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

30 of 30 properties
NameTypeAccessDescription
AddressWidthuint16read

Processor address width, in bits.

Unit: bits

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of AddressWidth for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, AddressWidth |
    Select-Object -Property DeviceID, AddressWidth
Availabilityuint16read

Availability and status of the device.

Values (21)
ValueLabelDescription
1Other
2Unknown
3Running/Full PowerRunning or Full Power
4Warning
5In Test
6Not Applicable
7Power Off
8Off Line
9Off Duty
10Degraded
11Not Installed
12Install Error
13Power Save - UnknownThe device is known to be in a power save mode, but its exact status is unknown.
14Power Save - Low Power ModeThe device is in a power save state but still functioning, and may exhibit degraded performance.
15Power Save - StandbyThe device is not functioning, but could be brought to full power quickly.
16Power Cycle
17Power Save - WarningThe device is in a warning state, though also in a power save mode.
18PausedThe device is paused.
19Not ReadyThe device is not ready.
20Not ConfiguredThe device is not configured.
21QuiescedThe device is quiet.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Availability for each instance
# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Running/Full Power'
    4 = 'Warning'
    5 = 'In Test'
    6 = 'Not Applicable'
    7 = 'Power Off'
    8 = 'Off Line'
    9 = 'Off Duty'
    10 = 'Degraded'
    11 = 'Not Installed'
    12 = 'Install Error'
    13 = 'Power Save - Unknown'
    14 = 'Power Save - Low Power Mode'
    15 = 'Power Save - Standby'
    16 = 'Power Cycle'
    17 = 'Power Save - Warning'
    18 = 'Paused'
    19 = 'Not Ready'
    20 = 'Not Configured'
    21 = 'Quiesced'
}
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Availability |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
    )
Captionstringread

Short textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Caption for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Caption |
    Select-Object -Property DeviceID, Caption
ConfigManagerErrorCodeuint32read

Win32 Configuration Manager error code.

Values (32)
ValueLabelDescription
0This device is working properly.Device is working properly.
1This device is not configured correctly.Device is not configured correctly.
2Windows cannot load the driver for this device.
3The driver for this device might be corrupted, or your system may be running low on memory or other resources.Driver for this device might be corrupted, or the system may be low on memory or other resources.
4This device is not working properly. One of its drivers or your registry might be corrupted.Device is not working properly. One of its drivers or the registry might be corrupted.
5The driver for this device needs a resource that Windows cannot manage.Driver for the device requires a resource that Windows cannot manage.
6The boot configuration for this device conflicts with other devices.Boot configuration for the device conflicts with other devices.
7Cannot filter.
8The driver loader for the device is missing.Driver loader for the device is missing.
9This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly.Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device.
10This device cannot start.Device cannot start.
11This device failed.Device failed.
12This device cannot find enough free resources that it can use.Device cannot find enough free resources to use.
13Windows cannot verify this device's resources.Windows cannot verify the device's resources.
14This device cannot work properly until you restart your computer.Device cannot work properly until the computer is restarted.
15This device is not working properly because there is probably a re-enumeration problem.Device is not working properly due to a possible re-enumeration problem.
16Windows cannot identify all the resources this device uses.Windows cannot identify all of the resources that the device uses.
17This device is asking for an unknown resource type.Device is requesting an unknown resource type.
18Reinstall the drivers for this device.Device drivers must be reinstalled.
19Failure using the VxD loader.
20Your registry might be corrupted.Registry might be corrupted.
21System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device.System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device.
22This device is disabled.Device is disabled.
23System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation.System failure. If changing the device driver is ineffective, see the hardware documentation.
24This device is not present, is not working properly, or does not have all its drivers installed.Device is not present, not working properly, or does not have all of its drivers installed.
25Windows is still setting up this device.Windows is still setting up the device.
26Windows is still setting up this device.Windows is still setting up the device.
27This device does not have valid log configuration.Device does not have valid log configuration.
28The drivers for this device are not installed.Device drivers are not installed.
29This device is disabled because the firmware of the device did not give it the required resources.Device is disabled. The device firmware did not provide the required resources.
30This device is using an Interrupt Request (IRQ) resource that another device is using.Device is using an IRQ resource that another device is using.
31This device is not working properly because Windows cannot load the drivers required for this device.Device is not working properly. Windows cannot load the required device drivers.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ConfigManagerErrorCode for each instance
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
    0 = 'This device is working properly'
    1 = 'This device is not configured correctly'
    2 = 'Windows cannot load the driver for this device'
    3 = 'The driver for this device might be corrupted, or your…'
    4 = 'This device is not working properly'
    5 = 'The driver for this device needs a resource that Windows…'
    6 = 'The boot configuration for this device conflicts with other…'
    7 = 'Cannot filter'
    8 = 'The driver loader for the device is missing'
    9 = 'This device is not working properly because the controlling…'
    10 = 'This device cannot start'
    11 = 'This device failed'
    12 = 'This device cannot find enough free resources that it can use'
    13 = 'Windows cannot verify this device''s resources'
    14 = 'This device cannot work properly until you restart your…'
    15 = 'This device is not working properly because there is…'
    16 = 'Windows cannot identify all the resources this device uses'
    17 = 'This device is asking for an unknown resource type'
    18 = 'Reinstall the drivers for this device'
    19 = 'Failure using the VxD loader'
    20 = 'Your registry might be corrupted'
    21 = 'System failure: Try changing the driver for this device'
    22 = 'This device is disabled'
    23 = 'System failure: Try changing the driver for this device'
    24 = 'This device is not present, is not working properly, or does…'
    25 = 'Windows is still setting up this device'
    26 = 'Windows is still setting up this device'
    27 = 'This device does not have valid log configuration'
    28 = 'The drivers for this device are not installed'
    29 = 'This device is disabled because the firmware of the device…'
    30 = 'This device is using an Interrupt Request (IRQ) resource…'
    31 = 'This device is not working properly because Windows cannot…'
}
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, ConfigManagerErrorCode |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
    )
ConfigManagerUserConfigbooleanread

If TRUE, the device is using a user-defined configuration.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ConfigManagerUserConfig for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, ConfigManagerUserConfig |
    Select-Object -Property DeviceID, ConfigManagerUserConfig
CreationClassName keystringread

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CreationClassName for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, CreationClassName |
    Select-Object -Property DeviceID, CreationClassName
CurrentClockSpeeduint32read

Current speed (in megahertz) of the processor.

Unit: megahertz

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of CurrentClockSpeed for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, CurrentClockSpeed |
    Select-Object -Property DeviceID, CurrentClockSpeed
DataWidthuint16read

Processor data width, in bits.

Unit: bits

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DataWidth for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, DataWidth |
    Select-Object -Property DeviceID, DataWidth
Descriptionstringread

Textual description of the object.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Description for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Description |
    Select-Object -Property DeviceID, Description
DeviceID keystringread

Address or other identifying information to uniquely name the logical device.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of DeviceID for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID |
    Select-Object -Property DeviceID
ErrorClearedbooleanread

If TRUE, the error reported in the LastErrorCode property is now cleared.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ErrorCleared for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, ErrorCleared |
    Select-Object -Property DeviceID, ErrorCleared
ErrorDescriptionstringread

Free-form string that supplies information about the error recorded in the LastErrorCode property and corrective actions to perform.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of ErrorDescription for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, ErrorDescription |
    Select-Object -Property DeviceID, ErrorDescription
Familyuint16read

Processor family type.

Values (108)
ValueLabelDescription
1Other
2Unknown
38086
480286
580386
680486
78087
880287
980387
1080487
11Pentium(R) brandPentium brand
12Pentium(R) ProPentium Pro
13Pentium(R) IIPentium II
14Pentium(R) processor with MMX(TM) technologyPentium processor with MMX technology
15Celeron(TM)Celeron
16Pentium(R) II Xeon(TM)Pentium II Xeon
17Pentium(R) IIIPentium III
18M1 Family
19M2 Family
24K5 FamilyAMD Duron Processor Family
25K6 FamilyK5 Family
26K6-2
27K6-3
28AMD Athlon(TM) Processor FamilyAMD Athlon Processor Family
29AMD(R) Duron(TM) ProcessorAMD Duron Processor
30AMD29000 FamilyAMD2900 Family
31K6-2+
32Power PC Family
33Power PC 601
34Power PC 603
35Power PC 603+
36Power PC 604
37Power PC 620
38Power PC X704
39Power PC 750
48Alpha Family
49Alpha 21064
50Alpha 21066
51Alpha 21164
52Alpha 21164PC
53Alpha 21164a
54Alpha 21264
55Alpha 21364
64MIPS Family
65MIPS R4000
66MIPS R4200
67MIPS R4400
68MIPS R4600
69MIPS R10000
80SPARC Family
81SuperSPARC
82microSPARC II
83microSPARC IIep
84UltraSPARC
85UltraSPARC II
86UltraSPARC IIi
87UltraSPARC III
88UltraSPARC IIIi
9668040
9768xxx Family
9868000
9968010
10068020
10168030
112Hobbit Family
120Crusoe(TM) TM5000 FamilyCrusoe TM5000 Family
121Crusoe(TM) TM3000 FamilyCrusoe TM3000 Family
122Efficeon(TM) TM8000 FamilyEfficeon8000 Family
128Weitek
130Itanium(TM) ProcessorItanium Processor
131AMD Athlon(TM) 64 Processor FamilyAMD Athlon
132AMD Opteron(TM) FamilyAMD Opteron Family
144PA-RISC Family
145PA-RISC 8500
146PA-RISC 8000
147PA-RISC 7300LC
148PA-RISC 7200
149PA-RISC 7100LC
150PA-RISC 7100
160V30 Family
176Pentium(R) III Xeon(TM)Pentium III Xeon
177Pentium(R) III Processor with Intel(R) SpeedStep(TM) TechnologyPentium III Processor with Intel SpeedStep Technology
178Pentium(R) 4Pentium 4
179Intel(R) Xeon(TM)Intel Xeon
180AS400 Family
181Intel(R) Xeon(TM) processor MPIntel Xeon Processor MP
182AMD AthlonXP(TM) FamilyAMD AthlonXP Family
183AMD AthlonMP(TM) FamilyAMD AthlonMP Family
184Intel(R) Itanium(R) 2Intel Itanium 2
185Intel Pentium M Processor
190K7
200IBM390 Family
201G4
202G5
203G6
204z/Architecture base
250i860
251i960
260SH-3
261SH-4
280ARM
281StrongARM
3006x86
301MediaGX
302MII
320WinChip
350DSP
500Video Processor
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Family for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Family |
    Select-Object -Property DeviceID, Family
InstallDatedatetimeread

Date and time the object was installed. This property does not need a value to indicate that the object is installed.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, InstallDate |
    Select-Object -Property DeviceID, InstallDate
LastErrorCodeuint32read

Last error code reported by the logical device.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of LastErrorCode for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, LastErrorCode |
    Select-Object -Property DeviceID, LastErrorCode
LoadPercentageuint16read

Loading of the processor, averaged over the last minute, in a percentage.

Unit: percent

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of LoadPercentage for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, LoadPercentage |
    Select-Object -Property DeviceID, LoadPercentage
MaxClockSpeeduint32read

Maximum speed (in megahertz) of the processor.

Unit: megahertz

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of MaxClockSpeed for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, MaxClockSpeed |
    Select-Object -Property DeviceID, MaxClockSpeed
Namestringread

Label by which the object is known. When subclassed, this property can be overridden to be a key property.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Name for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Name |
    Select-Object -Property DeviceID, Name
OtherFamilyDescriptionstringread

Description of the processor family type. This property is used when the Family property is set to 1 ("Other"). This string should be set to null when the Family property is a value other than 1.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of OtherFamilyDescription for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, OtherFamilyDescription |
    Select-Object -Property DeviceID, OtherFamilyDescription
PNPDeviceIDstringread

Plug and Play device identifier of the logical device. This property is inherited from CIM_LogicalDevice.

Example: "*PNP030b"

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PNPDeviceID for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, PNPDeviceID |
    Select-Object -Property DeviceID, PNPDeviceID
PowerManagementCapabilitiesuint16[]read

Array of the specific power-related capabilities of a logical device.

Values (8)
ValueLabelDescription
0Unknown
1Not Supported
2Disabled
3EnabledThe power management features are currently enabled but the exact feature set is unknown or the information is unavailable.
4Power Saving Modes Entered AutomaticallyThe device can change its power state based on usage or other criteria.
5Power State SettableThe 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.
6Power Cycling SupportedThe SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle).
7Timed Power On SupportedThe 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.
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PowerManagementCapabilities for each instance
# Lookup table for PowerManagementCapabilities (values documented by Microsoft)
$powerManagementCapabilitiesName = @{
    0 = 'Unknown'
    1 = 'Not Supported'
    2 = 'Disabled'
    3 = 'Enabled'
    4 = 'Power Saving Modes Entered Automatically'
    5 = 'Power State Settable'
    6 = 'Power Cycling Supported'
    7 = 'Timed Power On Supported'
}
# PowerManagementCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName CIM_Processor -Property PowerManagementCapabilities |
    Select-Object -ExpandProperty PowerManagementCapabilities |
    ForEach-Object -Process { $powerManagementCapabilitiesName[[int]$_] }
PowerManagementSupportedbooleanread

If True, the device can be power managed, that is, put into a power-save state. If False, the integer value 1 ("Not Supported") should be the only entry in the PowerManagementCapabilities array.

This property does not indicate whether power management features are currently enabled, or if enabled, which features are supported. For more information, see the PowerManagementCapabilities array. This property is inherited from CIM_LogicalDevice.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PowerManagementSupported for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, PowerManagementSupported |
    Select-Object -Property DeviceID, PowerManagementSupported
Rolestringread

Free-form string that describes the role of the processor. For example, "Central Processor" or "Math Processor".

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Role for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Role |
    Select-Object -Property DeviceID, Role
Statusstringread

Current status of the object.

Values include the following:

Values (12)
ValueLabelDescription
OKOK
ErrorError
DegradedDegraded
UnknownUnknown
Pred FailPred Fail
StartingStarting
StoppingStopping
ServiceService
StressedStressed
NonRecoverNonRecover
No ContactNo Contact
Lost CommLost Comm
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Status for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Status |
    Select-Object -Property DeviceID, Status
StatusInfouint16read

State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used.

Values (5)
ValueLabelDescription
1Other
2Unknown
3Enabled
4Disabled
5Not Applicable
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of StatusInfo for each instance
# Lookup table for StatusInfo (values documented by Microsoft)
$statusInfoName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Enabled'
    4 = 'Disabled'
    5 = 'Not Applicable'
}
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, StatusInfo |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'StatusInfo'; Expression = { $statusInfoName[[int]$_.StatusInfo] } }
    )
Steppingstringread

Free-form string that indicates the revision level of the processor within the processor family.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Stepping for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, Stepping |
    Select-Object -Property DeviceID, Stepping
SystemCreationClassName keystringread

Scoping system's creation class name.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SystemCreationClassName for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, SystemCreationClassName |
    Select-Object -Property DeviceID, SystemCreationClassName
SystemName keystringread

Scoping system's name.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SystemName for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, SystemName |
    Select-Object -Property DeviceID, SystemName
UniqueIdstringread

Globally unique identifier for the processor. This identifier can only be unique within a processor family.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of UniqueId for each instance
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, UniqueId |
    Select-Object -Property DeviceID, UniqueId
UpgradeMethoduint16read

CPU socket information, which includes data on how to upgrade the processor (if upgrades are supported).

Values (18)
ValueLabelDescription
1Other
2Unknown
3Daughter Board
4ZIF Socket
5Replacement/Piggy BackReplacement or piggy back
6None
7LIF Socket
8Slot 1
9Slot 2
10370 Pin Socket
11Slot A
12Slot M
13Socket 423
14Socket A (Socket 462)
15Socket 478
16Socket 754
17Socket 940
18Socket 939
Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of UpgradeMethod for each instance
# Lookup table for UpgradeMethod (values documented by Microsoft)
$upgradeMethodName = @{
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Daughter Board'
    4 = 'ZIF Socket'
    5 = 'Replacement/Piggy Back'
    6 = 'None'
    7 = 'LIF Socket'
    8 = 'Slot 1'
    9 = 'Slot 2'
    10 = '370 Pin Socket'
    11 = 'Slot A'
    12 = 'Slot M'
    13 = 'Socket 423'
    14 = 'Socket A (Socket 462)'
    15 = 'Socket 478'
    16 = 'Socket 754'
    17 = 'Socket 940'
    18 = 'Socket 939'
}
Get-CimInstance -ClassName CIM_Processor -Property DeviceID, UpgradeMethod |
    Select-Object -Property @(
        'DeviceID'
        @{ Name = 'UpgradeMethod'; Expression = { $upgradeMethodName[[int]$_.UpgradeMethod] } }
    )

Remarks

The CIM_Processor class is derived from CIM_LogicalDevice.

WMI does not implement this class. For WMI classes derived from CIM_Processor, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_LogicalElement
  3. CIM_LogicalDevice
  4. CIM_Processor

Known subclasses

Requirements

Namespace
root/cimv2
Minimum client
Windows Vista
Minimum server
Windows Server 2008
MOF file
CIMWin32.mof
DLL
CIMWin32.dll
Class qualifiers

Abstract UUID("{8502C54B-5FBB-11D2-AAC1-006008C78BC7}") AMENDMENT

Microsoft source

Source: Microsoft Learn

Descriptions, properties and methods come from the Microsoft documentation (MicrosoftDocs/win32 repository), published under the CC BY 4.0 licence. Formatting and translations are specific to this site; the PowerShell examples are written for it.