Win32_SystemSlot

Win32 System Slot
root/cimv2dynamickey : Tag

The Win32_SystemSlot WMI class represents physical connection points including ports, motherboard slots and peripherals, and proprietary connection points.

On this page

Main example

List instances

# All instances of Win32_SystemSlot, with the main properties
Get-CimInstance -ClassName Win32_SystemSlot |
    Select-Object -Property @(
        'Tag'
        'Description'
        'Status'
        'Manufacturer'
        'Model'
        'Version'
        'SerialNumber'
    )

Examples

Filter with WQL

# WQL filter evaluated by the provider: CurrentUsage = 3 (Available)
Get-CimInstance -ClassName Win32_SystemSlot -Filter 'CurrentUsage = 3' |
    Select-Object -Property @(
        'Tag'
        'Description'
        'Status'
        'Manufacturer'
        'Model'
        'Version'
        'SerialNumber'
    )

The filter is evaluated by the WMI provider: less data is transferred than with Where-Object.

Decode numeric values

# Lookup table for CurrentUsage (values documented by Microsoft)
$currentUsageName = @{
    0 = 'Reserved'
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Available'
    4 = 'In use'
}
# Lookup table for MaxDataWidth (values documented by Microsoft)
$maxDataWidthName = @{
    0 = '8'
    1 = '16'
    2 = '32'
    3 = '64'
    4 = '128'
}

Get-CimInstance -ClassName Win32_SystemSlot |
    Select-Object -Property @(
        'Tag'
        'Description'
        'Status'
        'Manufacturer'
        'Model'
        'Version'
        'SerialNumber'
    )

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 Win32_SystemSlot |
        Select-Object -Property @(
            'Tag'
            'Description'
            'Status'
            'Manufacturer'
            'Model'
            'Version'
            'SerialNumber'
        )
} 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 Win32_SystemSlot
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

35 of 35 properties
NameTypeAccessDescription
BusNumberuint32read

SMBIOS Bus Number.

This value comes from the Bus Number member of the System Slots 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 10 and Windows Server 2016.

Code
# Value of BusNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, BusNumber |
    Select-Object -Property Tag, BusNumber
Captionstringread

Short description of an object—a one-line string.

Code
# Value of Caption for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Caption |
    Select-Object -Property Tag, Caption
ConnectorPinoutstringread

Free-form string that describes the pin configuration and signal usage of a physical connector.

Code
# Value of ConnectorPinout for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, ConnectorPinout |
    Select-Object -Property Tag, ConnectorPinout
ConnectorTypeuint16[]read

Array of physical attributes of the connector that this slot uses.

This value comes from the Slot Type member of the System Slots structure in the SMBIOS information.

The possible values are.

Values (101)
ValueLabelDescription
0Unknown
1Other
2Male
3Female
4Shielded
5Unshielded
6SCSI (A) High-Density (50 pins)
7SCSI (A) Low-Density (50 pins)
8SCSI (P) High-Density (68 pins)
9SCSI SCA-I (80 pins)
10SCSI SCA-II (80 pins)
11SCSI Fibre Channel (DB-9, Copper)
12SCSI Fibre Channel (Fibre)
13SCSI Fibre Channel SCA-II (40 pins)
14SCSI Fibre Channel SCA-II (20 pins)
15SCSI Fibre Channel BNC
16ATA 3-1/2 Inch (40 pins)
17ATA 2-1/2 Inch (44 pins)
18ATA-2
19ATA-3
20ATA/66
21DB-9
22DB-15
23DB-25
24DB-36
25RS-232C
26RS-422
27RS-423
28RS-485
29RS-449
30V.35
31X.21
32IEEE-488
33AUI
34UTP Category 3
35UTP Category 4
36UTP Category 5
37BNC
38RJ11
39RJ45
40Fiber MIC
41Apple AUI
42Apple GeoPort
43PCI
44ISA
45EISA
46VESA
47PCMCIA
48PCMCIA Type I
49PCMCIA Type II
50PCMCIA Type III
51ZV Port
52CardBus
53USB
54IEEE 1394
55HIPPI
56HSSDC (6 pins)
57GBIC
58DIN
59Mini-DIN
60Micro-DIN
61PS/2
62Infrared
63HP-HIL
64Access.bus
65NuBus
66Centronics
67Mini-Centronics
68Mini-Centronics Type-14
69Mini-Centronics Type-20
70Mini-Centronics Type-26
71Bus Mouse
72ADB
73AGP
74VME Bus
75VME64
76Proprietary
77Proprietary Processor Card Slot
78Proprietary Memory Card Slot
79Proprietary I/O Riser Slot
80PCI-66MHZ
81AGP2X
82AGP4X
83PC-98
84PC-98-Hireso
85PC-H98
86PC-98Note
87PC-98Full
88PCI-X
89Sbus IEEE 1396-1993 32 bit
90Sbus IEEE 1396-1993 64 bit
91MCA
92GIO
93XIO
94HIO
95NGIO
96PMC
97Future I/O
98InfiniBand
99AGP8X
100PCI-E
Code
# Value of ConnectorType for each instance
# ConnectorType is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_SystemSlot -Property ConnectorType |
    Select-Object -ExpandProperty ConnectorType
CreationClassName keystringread

Name of the first concrete class that appears in the inheritance chain used in the creation of an instance. When used with the other key properties of a class, this property allows all instances of this class and its subclasses to be identified uniquely.

Code
# Value of CreationClassName for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, CreationClassName |
    Select-Object -Property Tag, CreationClassName
CurrentUsageuint16read

Status of system slot use.

This value comes from the Current Usage member of the System Slots structure in the SMBIOS information.

The possible values are.

Values (5)
ValueLabelDescription
0Reserved
1Other
2Unknown
3Available
4In use
Code
# Value of CurrentUsage for each instance
# Lookup table for CurrentUsage (values documented by Microsoft)
$currentUsageName = @{
    0 = 'Reserved'
    1 = 'Other'
    2 = 'Unknown'
    3 = 'Available'
    4 = 'In use'
}
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, CurrentUsage |
    Select-Object -Property @(
        'Tag'
        @{ Name = 'CurrentUsage'; Expression = { $currentUsageName[[int]$_.CurrentUsage] } }
    )
Descriptionstringread

Description of the object.

Code
# Value of Description for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Description |
    Select-Object -Property Tag, Description
DeviceNumberuint32read

SMBIOS Device Number.

This value comes from the Device/Function Number member of the System Slots 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 10 and Windows Server 2016.

Code
# Value of DeviceNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, DeviceNumber |
    Select-Object -Property Tag, DeviceNumber
FunctionNumberuint32read

SMBIOS Function Number.

This value comes from the Device/Function Number member of the System Slots 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 10 and Windows Server 2016.

Code
# Value of FunctionNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, FunctionNumber |
    Select-Object -Property Tag, FunctionNumber
HeightAllowedreal32read

Maximum height of an adapter card that can be inserted into the slot—in inches.

Unit: inches

Code
# Value of HeightAllowed for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, HeightAllowed |
    Select-Object -Property Tag, HeightAllowed
InstallDatedatetimeread

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

Code
# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, InstallDate |
    Select-Object -Property Tag, InstallDate
LengthAllowedreal32read

Maximum length of an adapter card that can be inserted into the slot—in inches.

Unit: inches

Code
# Value of LengthAllowed for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, LengthAllowed |
    Select-Object -Property Tag, LengthAllowed
Manufacturerstringread

Name of the organization that produces the physical element.

Code
# Value of Manufacturer for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Manufacturer |
    Select-Object -Property Tag, Manufacturer
MaxDataWidthuint16read

Maximum bus width of adapter cards that can be inserted into this slot—in bits. This can be one of the following values.

This value comes from the Slot Data Bus Width member of the System Slots structure in the SMBIOS information.

The possible values are.

Unit: bits

Values (5)
ValueLabelDescription
08Maximum data width (bits): 8
116Maximum data width (bits): 16
232Maximum data width (bits): 32
364Maximum data width (bits): 64
4128Maximum data width (bits): 128
Code
# Value of MaxDataWidth for each instance
# Lookup table for MaxDataWidth (values documented by Microsoft)
$maxDataWidthName = @{
    0 = '8'
    1 = '16'
    2 = '32'
    3 = '64'
    4 = '128'
}
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, MaxDataWidth |
    Select-Object -Property @(
        'Tag'
        @{ Name = 'MaxDataWidth'; Expression = { $maxDataWidthName[[int]$_.MaxDataWidth] } }
    )
Modelstringread

Name for the physical element.

Code
# Value of Model for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Model |
    Select-Object -Property Tag, Model
Namestringread

Label for the object. When subclassed, this property can be overridden to be a key property.

Code
# Value of Name for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Name |
    Select-Object -Property Tag, Name
Numberuint16read

Physical slot number that can be used as an index into a system slot table, whether or not that slot is physically empty.

This value comes from the Slot ID member of the System Slots structure in the SMBIOS information.

Code
# Value of Number for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Number |
    Select-Object -Property Tag, Number
OtherIdentifyingInfostringread

Additional data (that is, more than the asset tag information), that can be used to identify a physical element. One example is bar code data associated with an element that also has an asset tag. Note that if only bar code data is available, and it is unique or can be used as an element key, this property is NULL, and the bar code data is used as the class key in the Tag property.

Code
# Value of OtherIdentifyingInfo for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, OtherIdentifyingInfo |
    Select-Object -Property Tag, OtherIdentifyingInfo
PartNumberstringread

Part number that the producer or manufacturer assigns to the physical element.

Code
# Value of PartNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, PartNumber |
    Select-Object -Property Tag, PartNumber
PMESignalbooleanread

If TRUE, the PCI bus Power Management Enabled (PME) signal is supported by this slot.

This value comes from the Slot Characteristics 2 member of the System Slots structure in the SMBIOS information.

Code
# Value of PMESignal for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, PMESignal |
    Select-Object -Property Tag, PMESignal
PoweredOnbooleanread

If TRUE, the physical element is powered on.

Code
# Value of PoweredOn for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, PoweredOn |
    Select-Object -Property Tag, PoweredOn
PurposeDescriptionstringread

Free-form string that describes how this slot is physically unique and may hold special types of hardware. This property only has meaning when the corresponding property SpecialPurpose is TRUE.

Code
# Value of PurposeDescription for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, PurposeDescription |
    Select-Object -Property Tag, PurposeDescription
SegmentGroupNumberuint32read

SMBIOS Segment Group Number.

This value comes from the Segment Group Number member of the System Slots 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 10 and Windows Server 2016.

Code
# Value of SegmentGroupNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SegmentGroupNumber |
    Select-Object -Property Tag, SegmentGroupNumber
SerialNumberstringread

Manufacturer-allocated number used to identify the physical element.

Code
# Value of SerialNumber for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SerialNumber |
    Select-Object -Property Tag, SerialNumber
Sharedbooleanread

If TRUE, two or more slots share a location on the baseboard, such as a PCI/EISA shared slot.

This value comes from the Slot Characteristics 1 member of the System Slots structure in the SMBIOS information.

Code
# Value of Shared for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Shared |
    Select-Object -Property Tag, Shared
SKUstringread

Stockkeeping unit number for the physical element.

Code
# Value of SKU for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SKU |
    Select-Object -Property Tag, SKU
SlotDesignationstringread

SMBIOS string that identifies the system slot designation of the slot on the motherboard.

Example: "PCI-1"

This value comes from the Slot Designation member of the System Slots structure in the SMBIOS information.

Code
# Value of SlotDesignation for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SlotDesignation |
    Select-Object -Property Tag, SlotDesignation
SpecialPurposebooleanread

If TRUE, this slot is physically unique and may hold special types of hardware, such as a graphics processor slot. If TRUE, then PurposeDescription should specify the nature of the uniqueness or purpose of the slot.

Code
# Value of SpecialPurpose for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SpecialPurpose |
    Select-Object -Property Tag, SpecialPurpose
Statusstringread

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states.

The possible values are.

Values (12)
ValueLabelDescription
OKOK
ErrorError
DegradedDegraded
UnknownUnknown
Pred FailPred Fail
StartingStarting
StoppingStopping
ServiceService
StressedStressed
NonRecoverNonRecover
No ContactNo Contact
Lost CommLost Comm
Code
# Value of Status for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Status |
    Select-Object -Property Tag, Status
SupportsHotPlugbooleanread

If TRUE, the slot supports hot-plugging of adapter cards.

This value comes from the Slot Characteristics 2 member of the System Slots structure in the SMBIOS information.

Code
# Value of SupportsHotPlug for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, SupportsHotPlug |
    Select-Object -Property Tag, SupportsHotPlug
Tag keystringread

System slot represented by an instance of this class.

Example: "System Slot 1"

Code
# Value of Tag for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag |
    Select-Object -Property Tag
ThermalRatinguint32read

Maximum thermal dissipation of the slot in milliwatts.

Unit: milliwatts

Code
# Value of ThermalRating for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, ThermalRating |
    Select-Object -Property Tag, ThermalRating
VccMixedVoltageSupportuint16[]read

Array of enumerated integers indicating the Vcc voltage supported by this slot.

This value comes from the Slot Characteristics 1 member of the System Slots structure in the SMBIOS information.

The possible values are.

Values (4)
ValueLabelDescription
0Unknown
1Other
23.3V
35V
Code
# Value of VccMixedVoltageSupport for each instance
# Lookup table for VccMixedVoltageSupport (values documented by Microsoft)
$vccMixedVoltageSupportName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = '3.3V'
    3 = '5V'
}
# VccMixedVoltageSupport is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_SystemSlot -Property VccMixedVoltageSupport |
    Select-Object -ExpandProperty VccMixedVoltageSupport |
    ForEach-Object -Process { $vccMixedVoltageSupportName[[int]$_] }
Versionstringread

Version of the physical element.

Code
# Value of Version for each instance
Get-CimInstance -ClassName Win32_SystemSlot -Property Tag, Version |
    Select-Object -Property Tag, Version
VppMixedVoltageSupportuint16[]read

Array of enumerated integers indicating the Vpp voltage supported by this slot.

The possible values are.

Values (5)
ValueLabelDescription
0Unknown
1Other
23.3V
35V
412V
Code
# Value of VppMixedVoltageSupport for each instance
# Lookup table for VppMixedVoltageSupport (values documented by Microsoft)
$vppMixedVoltageSupportName = @{
    0 = 'Unknown'
    1 = 'Other'
    2 = '3.3V'
    3 = '5V'
    4 = '12V'
}
# VppMixedVoltageSupport is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_SystemSlot -Property VppMixedVoltageSupport |
    Select-Object -ExpandProperty VppMixedVoltageSupport |
    ForEach-Object -Process { $vppMixedVoltageSupportName[[int]$_] }

Remarks

The Win32_SystemSlot class is derived from CIM_Slot.

Inheritance

Superclass chain

  1. CIM_ManagedSystemElement
  2. CIM_PhysicalElement
  3. CIM_PhysicalConnector
  4. CIM_Slot
  5. Win32_SystemSlot

Known subclasses

No known subclass.

Requirements

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

Dynamic Provider("CIMWin32") UUID("{FAF76B91-798C-11D2-AAD1-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.