Win32_SystemEnclosure class

The Win32_SystemEnclosure WMI class represents the properties that are associated with a physical system enclosure.

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("{FAF76B94-798C-11D2-AAD1-006008C78BC7}"), AMENDMENT]
class Win32_SystemEnclosure : CIM_Chassis
{
  boolean  AudibleAlarm;
  string   BreachDescription;
  string   CableManagementStrategy;
  string   Caption;
  uint16   ChassisTypes[];
  string   CreationClassName;
  sint16   CurrentRequiredOrProduced;
  real32   Depth;
  string   Description;
  uint16   HeatGeneration;
  real32   Height;
  boolean  HotSwappable;
  datetime InstallDate;
  boolean  LockPresent;
  string   Manufacturer;
  string   Model;
  string   Name;
  uint16   NumberOfPowerCords;
  string   OtherIdentifyingInfo;
  string   PartNumber;
  boolean  PoweredOn;
  boolean  Removable;
  boolean  Replaceable;
  uint16   SecurityBreach;
  uint16   SecurityStatus;
  string   SerialNumber;
  string   ServiceDescriptions[];
  uint16   ServicePhilosophy[];
  string   SKU;
  string   SMBIOSAssetTag;
  string   Status;
  string   Tag;
  string   TypeDescriptions[];
  string   Version;
  boolean  VisibleAlarm;
  real32   Weight;
  real32   Width;
};

Members

The Win32_SystemEnclosure class has these types of members:

Methods

The Win32_SystemEnclosure class has these methods.

Method Description
IsCompatible Not implemented.

 

Properties

The Win32_SystemEnclosure class has these properties.

AudibleAlarm

Data type: boolean

Access type: Read-only

If TRUE, the frame is equipped with an audible alarm.

This property is inherited from CIM_PhysicalFrame.

BreachDescription

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_PhysicalFrame.SecurityBreach")

Free-form string that provides more information if the SecurityBreach property indicates that a security-related event occurred.

This property is inherited from CIM_PhysicalFrame.

CableManagementStrategy

Data type: string

Access type: Read-only

Free-form string that contains information about how the various cables are connected and bundled for the frame. With many networking, storage-related, and power cables, cable management can be a complex and challenging endeavor. This property contains information to aid in assembly and service of the frame.

This property is inherited from CIM_PhysicalFrame.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

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

This property is inherited from CIM_ManagedSystemElement.

ChassisTypes

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), MappingStrings ("MIF.DMTF|Physical Container Global Table|002.1"), ModelCorrespondence ("CIM_Chassis.TypeDescriptions")

Array of chassis types.

This value comes from the Type member of the System Enclosure or Chassis structure in the SMBIOS information.

This property is inherited from CIM_Chassis.

Other (1)

Unknown (2)

Desktop (3)

Low Profile Desktop (4)

Pizza Box (5)

Mini Tower (6)

Tower (7)

Portable (8)

Laptop (9)

Notebook (10)

Hand Held (11)

Docking Station (12)

All in One (13)

Sub Notebook (14)

Space-Saving (15)

Lunch Box (16)

Main System Chassis (17)

Expansion Chassis (18)

SubChassis (19)

Bus Expansion Chassis (20)

Peripheral Chassis (21)

Storage Chassis (22)

Rack Mount Chassis (23)

Sealed-Case PC (24)

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: CIM_Key, MaxLen (256)

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

This property is inherited from CIM_PhysicalElement.

CurrentRequiredOrProduced

Data type: sint16

Access type: Read-only

Qualifiers: Units ("amps at 120 volts")

Current that is required by the chassis at 120V. If power is provided by the chassis—as in the case of an uninterruptible power supply (UPS)—this property may indicate the amperage produced (as a negative number).

This property is inherited from CIM_Chassis.

Depth

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Depth of the physical package—in inches.

This property is inherited from CIM_PhysicalPackage.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Description of the object.

This property is inherited from CIM_ManagedSystemElement.

HeatGeneration

Data type: uint16

Access type: Read-only

Qualifiers: Units ("BTU per hour")

Amount of heat that is generated by the chassis in BTU/hour.

This property is inherited from CIM_Chassis.

Height

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Height of the physical package—in inches.

This property is inherited from CIM_PhysicalPackage.

HotSwappable

Data type: boolean

Access type: Read-only

If TRUE, a physical package can be hot-swapped (if it is possible to replace the element with a physically different but equivalent one while the containing package has power applied to it). For example, a disk drive package that is inserted using SCA connectors is removable and can be hot-swapped. All packages that can be hot-swapped are inherently removable and replaceable.

This property is inherited from CIM_PhysicalPackage.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

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

This property is inherited from CIM_ManagedSystemElement.

LockPresent

Data type: boolean

Access type: Read-only

If TRUE, the frame is protected with a lock.

This property is inherited from CIM_PhysicalFrame.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Name of the organization that produces the physical element.

This value comes from the Manufacturer member of the System Enclosure or Chassis structure in the SMBIOS information.

This property is inherited from CIM_PhysicalElement.

Model

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Name by which the physical element is known.

This property is inherited from CIM_PhysicalElement.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

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

This property is inherited from CIM_ManagedSystemElement.

NumberOfPowerCords

Data type: uint16

Access type: Read-only

Number of power cords that must be connected to the chassis for all of the components to operate.

This property is inherited from CIM_Chassis.

OtherIdentifyingInfo

Data type: string

Access type: Read-only

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 that also has an asset tag. Be aware that if only bar code data is available and is unique or able to be used as an element key, this property would be NULL and the bar code data used as the class key, in the tag property.

This property is inherited from CIM_PhysicalElement.

PartNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Part number that is assigned by the organization that produces or manufacturing the physical element.

This property is inherited from CIM_PhysicalElement.

PoweredOn

Data type: boolean

Access type: Read-only

If TRUE, the physical element is powered ON.

This property is inherited from CIM_PhysicalElement.

Removable

Data type: boolean

Access type: Read-only

If TRUE, a physical package is removable (if it 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 can still be removable if the power must be "OFF" to perform the removal. If the package can be removed while the power is ON, then the element is removable and can be hot-swapped. For example, an extra battery in a laptop is removable, as is a disk drive package that is inserted using Server Configuration Application (SCA) connectors. However, the latter can be hot-swapped. A laptop display is not removable, nor is a nonredundant power supply. Removing these components would affect the function of the overall packaging or is impossible because of the tight integration of the package.

This property is inherited from CIM_PhysicalPackage.

Replaceable

Data type: boolean

Access type: Read-only

If TRUE, this physical media component can be replaced 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. Another example is a power supply package mounted on sliding rails. All removable packages are inherently replaceable.

This property is inherited from CIM_PhysicalPackage.

SecurityBreach

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Physical Container Global Table|002.12"), ModelCorrespondence ("CIM_PhysicalFrame.BreachDescription")

Status of a physical breach of the frame.

This property is inherited from CIM_PhysicalFrame.

Other (1)

Unknown (2)

No Breach (3)

Breach Attempted (4)

Breach Successful (5)

SecurityStatus

Data type: uint16

Access type: Read-only

Qualifiers: MappingStrings ("SMBIOS|Type 3|Security Status")

Security setting for external input, for example, a keyboard, to a computer.

This value comes from the Security Status member of the System Enclosure or Chassis structure in the SMBIOS information.

Other (1)

Unknown (2)

None (3)

External interface locked out (4)

External interface enabled (5)

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Manufacturer-allocated number used to identify the physical element.

This value comes from the Serial Number member of the System Enclosure or Chassis structure in the SMBIOS information.

This property is inherited from CIM_PhysicalElement.

ServiceDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PhysicalFrame.ServicePhilosophy")

Array of more detailed explanations for any of the entries in the ServicePhilosophy array. Be aware that each entry of this array is related to the entry in ServicePhilosophy that is located at the same index.

This property is inherited from CIM_PhysicalFrame.

ServicePhilosophy

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_PhysicalFrame.ServiceDescriptions")

Array that includes whether the frame is serviced from the top, front, back, or side, whether the frame has sliding trays or removable sides, and whether the frame is moveable—for example, having rollers.

This property is inherited from CIM_PhysicalFrame.

Unknown (0)

Other (1)

Service From Top (2)

Service From Front (3)

Service From Back (4)

Service From Side (5)

Sliding Trays (6)

Removable Sides (7)

Moveable (8)

SKU

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Stock keeping unit number for the physical element.

This property is inherited from CIM_PhysicalElement.

SMBIOSAssetTag

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("SMBIOS|Type 3|Asset Tag")

Asset tag number of the system enclosure.

This value comes from the Asset Tag Number member of the System Enclosure or Chassis structure in the SMBIOS information.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

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.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Tag

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256), Override ("Tag"), MappingStrings ("WMI")

Unique identifier of the system enclosure.

This property is inherited from CIM_PhysicalElement.

Example: "System Enclosure 1"

TypeDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_Chassis.ChassisTypes")

Array of more information about the ChassisTypes array entries. Be aware that each entry of this array is related to the entry in ChassisTypes that is located at the same index.

This property is inherited from CIM_Chassis.

Version

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Version of the physical element.

This value comes from the Version member of the System Enclosure or Chassis structure in the SMBIOS information.

This property is inherited from CIM_PhysicalElement.

VisibleAlarm

Data type: boolean

Access type: Read-only

If TRUE, the equipment includes a visible alarm.

This property is inherited from CIM_PhysicalFrame.

Weight

Data type: real32

Access type: Read-only

Qualifiers: Units ("pounds")

Weight of the physical package in pounds.

This property is inherited from CIM_PhysicalPackage.

Width

Data type: real32

Access type: Read-only

Qualifiers: Units ("inches")

Width of the physical package in inches.

This property is inherited from CIM_PhysicalPackage.

Remarks

The Win32_SystemEnclosure class is derived from CIM_Chassis.

Examples

The Multithreaded System Asset Gathering with Powershell PowerShell example on TechNet gallery uses a number of classes, including Win32_SystemEnclosure, to retrieve data from a system.

Requirements

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

See also

CIM_Chassis

Computer System Hardware Classes

WMI Tasks: Computer Hardware