The Win32_SystemEnclosure class represents the properties associated with a physical system enclosure.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.
Boolean indicating whether the frame is equipped with an audible alarm.
BreachDescription is a free-form string providing more information if the SecurityBreach property indicates that a breach or some other security-related event occurred.
CableManagementStrategy is a free-form string that contains information on 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 string property contains information to aid in assembly and service of the frame.
The Caption property is a short textual description (one-line string) of the object.
An enumerated, integer-valued array indicating the type of chassis.
CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.
Current required by the chassis at 120V. If power is provided by the chassis (as in the case of a UPS), this property may indicate the amperage produced, as a negative number.
The depth of the physical package in inches.
The Description property provides a textual description of the object.
Amount of heat generated by the chassis in BTU/hour.
The height of the physical package in inches.
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 (i.e., is 'on'). For example, a disk drive package inserted using SCA connectors is removable and can be hot swapped. All packages that can be hot swapped are inherently removable and replaceable.
The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.
Boolean indicating whether the frame is protected with a lock.
The name of the organization responsible for producing the physical element. This may be the entity from whom the element is purchased, but this is not necessarily true. The latter information is contained in the Vendor property of CIM_Product.
The name by which the physical element is generally known.
The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.
Integer indicating the number of power cords which must be connected to the chassis, for all the components to operate.
OtherIdentifyingInfo captures additional data, beyond asset tag information, that could 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 is unique/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.
The part number assigned by the organization responsible for producing or manufacturing the physical element.
Boolean indicating that the physical element is powered on (TRUE), or is currently off (FALSE).
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 power must be 'off' in order to perform the removal. If power can be 'on' and the package removed, 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 inserted using SCA connectors. However, the latter can be hot swapped. A laptop's display is not removable, nor is a non-redundant power supply. Removing these components would impact the function of the overall packaging or is impossible due to the tight integration of the package.
A physical package is replaceable if it is possible to replace (FRU or upgrade) 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 . Another example is a power supply package mounted on sliding rails. All removable packages are inherently replaceable .
SecurityBreach is an enumerated, integer-valued property indicating whether a physical breach of the frame was attempted but unsuccessful (value=4) or attempted and successful (5). Also, the values, "Unknown", "Other" or "No Breach", can be specified.
The SecurityStatus property indicates the security setting for external input (such as a keyboard) to this computer.
A manufacturer-allocated number used to identify the PhysicalElement.
An array of free-form strings providing more detailed explanations for any of the entries in the ServicePhilosophy array. Note, each entry of this array is related to the entry in ServicePhilosophy that is located at the same index.
ServicePhilosophy is an enumerated, integer-valued array that indicates whether the frame is serviced from the top (value=2), front (3), back (4) or side (5), whether it has sliding trays (6) or removable sides (7), and/or whether the frame is moveable (8), for example, having rollers.
The stock keeping unit number for this physical element.
The SMBIOSAssetTag property indicates the asset tag number of the system enclosure.
The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "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 on-line, yet the managed element is neither "OK" nor in one of the other states.
The Tag property is a string that uniquely identifies the system enclosure.
Example: System Enclosure 1
An array of free-form strings providing more information on the ChassisTypes array entries. Note, each entry of this array is related to the entry in ChassisTypes that is located at the same index.
A string indicating the version of the physical element.
Boolean indicating that the equipment includes a visible alarm.
The weight of the physical package in pounds.
The width of the physical package in inches.
The IsCompatible method verifies whether the referenced physical element may be contained by or inserted into the physical package. The return value should be 0 if the request was successfully executed, 1 if the request is not supported and some other value if an error occurred. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.
SELECT * FROM Win32_SystemEnclosure
About this site information
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
is Microsoft documents for "Managing Windows with WMI"
That is VB(Visual Basic) scripting sample.
is Microsoft documents for "Advanced Programming Topics in WMI .NET"
That is VB.net(Visual Basic .net) scripting sample.