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

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Batteries and Power Supplies

Description (Beschreibung):

The Win32_UninterruptiblePowerSupply WMI class represents the capabilities and management capacity of an uninterruptible power supply (UPS). The properties of the UPS device indicate when incoming power is trimmed or boosted, and the aggregated information of the batteries, generators, and so on, that comprise the device. These individual components (for example, multiple batteries) can also be independently modeled and associated with the UPS.

Availability (Verfügbarkeit):

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

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ActiveInputVoltageYesYesYesYesYes
AvailabilityYesYesYesYesYes
BatteryInstalledYesYesYesYesYes
CanTurnOffRemotelyYesYesYesYesYes
CaptionYesYesYesYesYes
CommandFileYesYesYesYesYes
ConfigManagerErrorCodeYesYesYesYesYes
ConfigManagerUserConfigYesYesYesYesYes
CreationClassNameYesYesYesYesYes
DescriptionYesYesYesYesYes
DeviceIDYesYesYesYesYes
ErrorClearedYesYesYesYesYes
ErrorDescriptionYesYesYesYesYes
EstimatedChargeRemainingYesYesYesYesYes
EstimatedRunTimeYesYesYesYesYes
FirstMessageDelayYesYesYesYesYes
InstallDateYesYesYesYesYes
IsSwitchingSupplyYesYesYesYesYes
LastErrorCodeYesYesYesYesYes
LowBatterySignalYesYesYesYesYes
MessageIntervalYesYesYesYesYes
NameYesYesYesYesYes
PNPDeviceIDYesYesYesYesYes
PowerFailSignalYesYesYesYesYes
PowerManagementCapabilitiesYesYesYesYesYes
PowerManagementSupportedYesYesYesYesYes
Range1InputFrequencyHighYesYesYesYesYes
Range1InputFrequencyLowYesYesYesYesYes
Range1InputVoltageHighYesYesYesYesYes
Range1InputVoltageLowYesYesYesYesYes
Range2InputFrequencyHighYesYesYesYesYes
Range2InputFrequencyLowYesYesYesYesYes
Range2InputVoltageHighYesYesYesYesYes
Range2InputVoltageLowYesYesYesYesYes
RemainingCapacityStatusYesYesYesYesYes
StatusYesYesYesYesYes
StatusInfoYesYesYesYesYes
SystemCreationClassNameYesYesYesYesYes
SystemNameYesYesYesYesYes
TimeOnBackupYesYesYesYesYes
TotalOutputPowerYesYesYesYesYes
TypeOfRangeSwitchingYesYesYesYesYes
UPSPortYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ResetYesYesYesYesYes
SetPowerStateYesYesYesYesYes

Sample Code (Beispiel):

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

Links:

Link zur Original-Microsoft-Dokumentation