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

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Desktop and Environment

Description (Beschreibung):

The Win32_ComputerSystem WMI class represents a computer system operating in a Windows environment.

Availability (Verfügbarkeit):

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

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AdminPasswordStatusYesYesYesYesYes
AutomaticResetBootOptionYesYesYesYesYes
AutomaticResetCapabilityYesYesYesYesYes
BootOptionOnLimitYesYesYesYesYes
BootOptionOnWatchDogYesYesYesYesYes
BootROMSupportedYesYesYesYesYes
BootupStateYesYesYesYesYes
CaptionYesYesYesYesYes
ChassisBootupStateYesYesYesYesYes
CreationClassNameYesYesYesYesYes
CurrentTimeZoneYesYesYesYesYes
DaylightInEffectYesYesYesYesYes
DescriptionYesYesYesYesYes
DNSHostNameYes----
DomainYesYesYesYesYes
DomainRoleYesYesYesYesYes
EnableDaylightSavingsTimeYesYes---
FrontPanelResetStatusYesYesYesYesYes
InfraredSupportedYesYesYesYesYes
InitialLoadInfoYesYesYesYesYes
InstallDateYesYesYesYesYes
KeyboardPasswordStatusYesYesYesYesYes
LastLoadInfoYesYesYesYesYes
ManufacturerYesYesYesYesYes
ModelYesYesYesYesYes
NameYesYesYesYesYes
NameFormatYesYesYesYesYes
NetworkServerModeEnabledYesYesYesYesYes
NumberOfProcessorsYesYesYesYesYes
OEMLogoBitmapYesYesYesYesYes
OEMStringArrayYesYesYesYesYes
PartOfDomainYesYes---
PauseAfterResetYesYesYesYesYes
PowerManagementCapabilitiesYesYesYesYesYes
PowerManagementSupportedYesYesYesYesYes
PowerOnPasswordStatusYesYesYesYesYes
PowerStateYesYesYesYesYes
PowerSupplyStateYesYesYesYesYes
PrimaryOwnerContactYesYesYesYesYes
PrimaryOwnerNameYesYesYesYesYes
ResetCapabilityYesYesYesYesYes
ResetCountYesYesYesYesYes
ResetLimitYesYesYesYesYes
RolesYesYesYesYesYes
StatusYesYesYesYesYes
SupportContactDescriptionYesYesYesYesYes
SystemStartupDelayYesYesYesYesYes
SystemStartupOptionsYesYesYesYesYes
SystemStartupSettingYesYesYesYesYes
SystemTypeYesYesYesYesYes
ThermalStateYesYesYesYesYes
TotalPhysicalMemoryYesYesYesYesYes
UserNameYesYesYesYesYes
WakeUpTypeYesYesYesYesYes
WorkgroupYesYes---

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
JoinDomainOrWorkgroupYesYes---
RenameYesYes---
SetPowerStateYesYesYesYesYes
UnjoinDomainOrWorkgroupYesYes---

Sample Code (Beispiel):

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

Links:

Link zur Original-Microsoft-Dokumentation