MSAcpi_ThermalZoneTemperature

ThermalZone temperature information

Requirements
Supported on all Windows platforms.

Namespace

Class MSAcpi_ThermalZoneTemperature originates from WMI namespace root\WMI

Methods

Class MSAcpi_ThermalZoneTemperature has no methods.

Properties

Class MSAcpi_ThermalZoneTemperature has the following properties.

Active
 Data type: boolean
Access type: Read-only
 
ActiveTripPoint
 Data type: integer/usint32
Access type: Read-only
 Temperature levels (in tenths of degrees Kelvin) at which the OS must activate active cooling
ActiveTripPointCount
 Data type: integer/usint32
Access type: Read-only
 Count of active trip points
CriticalTripPoint
 Data type: integer/usint32
Access type: Read-only
 Temperature (in tenths of degrees Kelvin) at which the OS must shutdown the system (ie, critical temperature)
CurrentTemperature
 Data type: integer/usint32
Access type: Read-only
 Temperature at thermal zone in tenths of degrees Kelvin
InstanceName
 Data type: string
Access type: Read-only
 
PassiveTripPoint
 Data type: integer/usint32
Access type: Read-only
 Temperature (in tenths of degrees Kelvin) at which the OS must activate CPU throttling (ie, enable passive cooling)
Reserved
 Data type: integer/usint32
Access type: Read-only
 Reserved
SamplingPeriod
 Data type: integer/usint32
Access type: Read-only
 Sampling period
ThermalConstant1
 Data type: integer/usint32
Access type: Read-only
 First thermal constant
ThermalConstant2
 Data type: integer/usint32
Access type: Read-only
 Second thermal constant
ThermalStamp
 Data type: integer/usint32
Access type: Read-only
 Thermal information change stamp


Remarks

Class MSAcpi_ThermalZoneTemperature is derived from these classes:

MSAcpi


Sample Code

This sample demonstrates how to enumerate all instances of this class.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi_ThermalZoneTemperature",48)

For Each objInstance in objInstances
   WScript.Echo objInstance.getObjectText_
Next

This sample demonstrates how to list all individual properties of all instances of this class.

[VBScript]


strServer = "."

Set objWMI = GetObject("winmgmts://" & strServer & "/root\WMI")
Set objInstances = objWMI.InstancesOf("MSAcpi_ThermalZoneTemperature",48)

On Error Resume Next
For Each objInstance in objInstances
    With objInstance
        WScript.Echo .Active
        WScript.Echo Join(.ActiveTripPoint, ", ")
        WScript.Echo .ActiveTripPointCount
        WScript.Echo .CriticalTripPoint
        WScript.Echo .CurrentTemperature
        WScript.Echo .InstanceName
        WScript.Echo .PassiveTripPoint
        WScript.Echo .Reserved
        WScript.Echo .SamplingPeriod
        WScript.Echo .ThermalConstant1
        WScript.Echo .ThermalConstant2
        WScript.Echo .ThermalStamp
    End With
On Error Goto 0
Next


Weitere Informationen:

MSDN Documentation