Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to check CPU fan speed? Win32_Fan returns null

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-03-2007
bluej
 
Posts: n/a
How to check CPU fan speed? Win32_Fan returns null

I tried to test following technet code, but found the Win32_Fan return null.
Any suggestion?

Thanks!

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Fan")
For Each objItem in colItems
Wscript.Echo "Active Cooling: " & objItem.ActiveCooling
Wscript.Echo "Availability: " & objItem.Availability
Wscript.Echo "Device ID: " & objItem.DeviceID
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Status Information: " & objItem.StatusInfo
Wscript.Echo
Next

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to check CPU fan speed? Win32_Fan returns null"
Thread Thread Starter Forum Replies Last Post
How do I check fan speed on my Macbook Air? Charioteer Portable Devices 4 26-10-2010 12:57 PM
How to Check Null Value in C#? sivaranjan Software Development 4 04-02-2010 04:49 AM
In Java Script how to Check Null Value? taher Software Development 5 04-02-2010 03:18 AM
How to check java string not null or blank Capper Software Development 4 30-07-2009 08:11 PM
SQL need to check null or empty string B_Hodge Software Development 3 18-06-2009 12:44 PM


All times are GMT +5.5. The time now is 06:30 PM.