Reference for Win32_Fan
(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_Fan WMI class represents the properties of a fan device in the computer system. For example, the CPU cooling fan.

Availability (Verfügbarkeit):

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

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ActiveCoolingYesYesYesYesYes
AvailabilityYesYesYesYesYes
CaptionYesYesYesYesYes
ConfigManagerErrorCodeYesYesYesYesYes
ConfigManagerUserConfigYesYesYesYesYes
CreationClassNameYesYesYesYesYes
DescriptionYesYesYesYesYes
DesiredSpeedYesYesYesYesYes
DeviceIDYesYesYesYesYes
ErrorClearedYesYesYesYesYes
ErrorDescriptionYesYesYesYesYes
InstallDateYesYesYesYesYes
LastErrorCodeYesYesYesYesYes
NameYesYesYesYesYes
PNPDeviceIDYesYesYesYesYes
PowerManagementCapabilitiesYesYesYesYesYes
PowerManagementSupportedYesYesYesYesYes
StatusYesYesYesYesYes
StatusInfoYesYesYesYesYes
SystemCreationClassNameYesYesYesYesYes
SystemNameYesYesYesYesYes
VariableSpeedYesYesYesYesYes

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ResetYesYesYesYesYes
SetPowerStateYesYesYesYesYes
SetSpeedYesYesYesYesYes

Sample Code (Beispiel):

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

Links:

Link zur Original-Microsoft-Dokumentation