Reference for Win32_SystemEnclosure
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Basic Computer Hardware

Description (Beschreibung):

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

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_SystemEnclosureYesYesYesYesYes

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AudibleAlarmYesYesYesYesYes
BreachDescriptionYesYesYesYesYes
CableManagementStrategyYesYesYesYesYes
CaptionYesYesYesYesYes
ChassisTypesYesYesYesYesYes
CreationClassNameYesYesYesYesYes
CurrentRequiredOrProducedYesYesYesYesYes
DepthYesYesYesYesYes
DescriptionYesYesYesYesYes
HeatGenerationYesYesYesYesYes
HeightYesYesYesYesYes
HotSwappableYesYesYesYesYes
InstallDateYesYesYesYesYes
LockPresentYesYesYesYesYes
ManufacturerYesYesYesYesYes
ModelYesYesYesYesYes
NameYesYesYesYesYes
NumberOfPowerCordsYesYesYesYesYes
OtherIdentifyingInfoYesYesYesYesYes
PartNumberYesYesYesYesYes
PoweredOnYesYesYesYesYes
RemovableYesYesYesYesYes
ReplaceableYesYesYesYesYes
SecurityBreachYesYesYesYesYes
SecurityStatusYesYesYesYesYes
SerialNumberYesYesYesYesYes
ServiceDescriptionsYesYesYesYesYes
ServicePhilosophyYesYesYesYesYes
SKUYesYesYesYesYes
SMBIOSAssetTagYesYesYesYesYes
StatusYesYesYesYesYes
TagYesYesYesYesYes
TypeDescriptionsYesYesYesYesYes
VersionYesYesYesYesYes
VisibleAlarmYesYesYesYesYes
WeightYesYesYesYesYes
WidthYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
IsCompatibleYesYesYesYesYes

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_SystemEnclosure")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation