CIM_Card

CIM Card
root/cimv2abstract

The CIM_Card class represents a type of physical container that can be plugged into another card or hosting board, or is itself a hosting board/motherboard in a chassis.

On this page

Main example

List instances

# Abstract class: Get-CimInstance returns the instances of its subclasses
Get-CimInstance -ClassName CIM_Card |
    Select-Object -Property @(
        'Tag'
        'Description'
        'Status'
        'Manufacturer'
        'Model'
        'Version'
        'SerialNumber'
    )

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

Examples

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_Card |
        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 CIM_Card
$cimClass.CimClassProperties |
    Select-Object -Property Name, CimType, Flags

Properties

27 of 27 properties
NameTypeAccessDescription
Captionstringread

A 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_Card -Property Tag, Caption |
    Select-Object -Property Tag, Caption
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_Card -Property Tag, CreationClassName |
    Select-Object -Property Tag, CreationClassName
Depthreal32read

Depth of the physical package, in inches.

Unit: inches

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

A 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_Card -Property Tag, Description |
    Select-Object -Property Tag, Description
Heightreal32read

Height of the physical package, in inches.

Unit: inches

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Height for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Height |
    Select-Object -Property Tag, Height
HostingBoardbooleanread

If TRUE, this card is a motherboard or, more generically, a baseboard in a chassis.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of HostingBoard for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, HostingBoard |
    Select-Object -Property Tag, HostingBoard
HotSwappablebooleanread

If TRUE, the package can be hot-swapped. A physical package can be hot-swapped if the element can be replaced by a physically different (but equivalent) one while the containing package is turned on. For example, a fan component may be designed to be hot-swapped. All components that can be hot-swapped are inherently removable and replaceable.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of HotSwappable for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, HotSwappable |
    Select-Object -Property Tag, HotSwappable
InstallDatedatetimeread

Indicates when the object was installed. Lack of a value does not indicate that the object is not 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_Card -Property Tag, InstallDate |
    Select-Object -Property Tag, InstallDate
Manufacturerstringread

Name of the organization responsible for producing the physical element. For more information, see the Vendor property of CIM_Product.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Manufacturer for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Manufacturer |
    Select-Object -Property Tag, Manufacturer
Modelstringread

Name by which the physical element is generally known.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Model for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Model |
    Select-Object -Property Tag, Model
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_Card -Property Tag, Name |
    Select-Object -Property Tag, Name
OtherIdentifyingInfostringread

Additional data, beyond asset tag information, that can be used to identify a physical element. One example is bar-code data that is associated with an element, which also has an asset tag. Note that if only bar-code data is available, and is unique and able to be used as an element key, this property would be null and the bar-code data would be used as the class key in the Tag property.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of OtherIdentifyingInfo for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, OtherIdentifyingInfo |
    Select-Object -Property Tag, OtherIdentifyingInfo
PartNumberstringread

Part number assigned by the organization responsible for producing or manufacturing the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PartNumber for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, PartNumber |
    Select-Object -Property Tag, PartNumber
PoweredOnbooleanread

If TRUE, the physical element is powered on. Otherwise, it is currently off.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of PoweredOn for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, PoweredOn |
    Select-Object -Property Tag, PoweredOn
Removablebooleanread

If TRUE, the package is designed to be taken in and out of the physical container in which it is normally found, without impairing the function of the overall packaging. A package is considered removable even if the power must be off to perform the removal. If the power can be on and the package removed, then the element is removable and can be hot-swapped. For example, an upgradeable processor chip is removable.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Removable for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Removable |
    Select-Object -Property Tag, Removable
Replaceablebooleanread

If TRUE, it is possible to replace the element with a physically different one. For example, some computer systems allow the main processor chip to be upgraded to one of a higher clock rating. In this case, the processor is said to be replaceable. All removable components are inherently replaceable.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Replaceable for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Replaceable |
    Select-Object -Property Tag, Replaceable
RequirementsDescriptionstringread

Free-form string that describes the ways in which the card is physically unique from other cards. This property only has meaning when the corresponding Boolean property, SpecialRequirements, is set to TRUE.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of RequirementsDescription for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, RequirementsDescription |
    Select-Object -Property Tag, RequirementsDescription
RequiresDaughterBoardbooleanread

If TRUE, to function properly, at least one daughterboard or auxiliary card is required.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of RequiresDaughterBoard for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, RequiresDaughterBoard |
    Select-Object -Property Tag, RequiresDaughterBoard
SerialNumberstringread

Manufacturer-allocated number used to identify the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SerialNumber for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, SerialNumber |
    Select-Object -Property Tag, SerialNumber
SKUstringread

Stock-keeping unit number for this physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SKU for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, SKU |
    Select-Object -Property Tag, SKU
SlotLayoutstringread

Free-form string that describes the slot positioning, typical usage, restrictions, individual slot spacings, or other pertinent information for the slots on a card.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of SlotLayout for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, SlotLayout |
    Select-Object -Property Tag, SlotLayout
SpecialRequirementsbooleanread

If TRUE, the card is physically unique from other cards of the same type and, therefore, requires a special slot. For example, a double-wide card requires two slots. Another example is when a certain card can be used for the same general function as other cards, but requires a special slot (extra long, for example); whereas, other cards can be placed in any available slot. If TRUE, the corresponding RequirementsDescription property should specify the nature of the uniqueness or purpose of the card.

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

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states.

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_Card -Property Tag, Status |
    Select-Object -Property Tag, Status
Tag keystringread

Uniquely identifies the physical element and serves as the element's key. This property can contain information, such as asset tag or serial number data. The key for CIM_PhysicalElement is placed very high in the object hierarchy to independently identify the hardware or entity, regardless of physical placement in (or on) cabinets, adapters, and so on. For example, a removable component that can be hot-swapped can be taken from its containing (scoping) package and be temporarily unused. The object still continues to exist and can even be inserted into a different scoping container. The key for a physical element is an arbitrary string that is defined independently of placement or location-oriented hierarchy.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Tag for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag |
    Select-Object -Property Tag
Versionstringread

Indicates the version of the physical element.

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Version for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Version |
    Select-Object -Property Tag, Version
Weightreal32read

Weight of the physical package, in pounds.

Unit: pounds

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Weight for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Weight |
    Select-Object -Property Tag, Weight
Widthreal32read

Width of the physical package, in inches.

Unit: inches

Code
# Abstract class: Get-CimInstance returns the instances of its subclasses
# Value of Width for each instance
Get-CimInstance -ClassName CIM_Card -Property Tag, Width |
    Select-Object -Property Tag, Width

Remarks

The CIM_Card class is derived from CIM_PhysicalPackage.

WMI does not implement this class. For more information about classes derived from CIM_Card, 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_PhysicalElement
  3. CIM_PhysicalPackage
  4. CIM_Card

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("{FAF76B76-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.