- Messages
- 3,911
- Location
- Sloe Deth, Californicatia
OK, the guy from that Blog responded - I'm going to try what he suggested,
Let me know if that works, I'll tell him
admin May 10, 2013 at 9:54 pmThe problem is that most mainboards/sensors don’t provide a WMI interface, which results in Windows not being able to query those. Third-party tools like Aida, Everest and HWiNFO probably use their own routines or libraries from the hardware manufacturers to query the hardware directly.
Professional server vendors, however, might supply special drivers or system apps for their servers which provide enhanced functionality in this regard. I don’t have any experience with that, though.
But I found a possibility to get all sensor data using the PowerShell with a third-party tool running in the background. The tool is called “Open Hardware Monitor”. It is a graphical tool with two cool additional features: a built-in webserver which makes the sensor data available via webbrowser and a WMI interface that can be queried by the PowerShell.
With the following command you get the current value of every temperature sensor:
Get-WmiObject -Namespace “Root\OpenHardwareMonitor” -Query “SELECT * FROM Sensor WHERE Sensortype=’Temperature’” | Format-Table Identifier,Value
To get periodic reports you can create a little PowerShell script (.ps1 file) and have that executed by the Windows Task Scheduler, i.e.:
Get-Date >> sensordata.txt
Get-WmiObject -Namespace “Root\OpenHardwareMonitor” -Query “SELECT * FROM Sensor WHERE Sensortype=’Temperature’” | Format-Table Identifier,Value >> sensordata.txt
Write-Output “================================================================================” >> sensordata.txt
Executing PowerShell Scripts might be disabled by default. You can activate it by issuing the following command in a PowerShell (needs administrative privileges!):
Set-ExecutionPolicy unrestricted
I hope that this solution is useful for you.
Let me know if that works, I'll tell him
My Computer
System One
-
- OS
- Windows 8 Pro with Media Center/Windows 7
- Computer type
- PC/Desktop
- System Manufacturer/Model
- Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
- CPU
- AMD 4400+/4200+
- Motherboard
- Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
- Memory
- 2 GB/3GB
- Graphics Card(s)
- GeForce 8400 GS/GeForce 210
- Sound Card
- nVIDIA GT218 - High Definition Audio Controller
- Monitor(s) Displays
- Hitachi 40" LCD HDTV
- Screen Resolution
- "1842 x 1036"
- Hard Drives
- WDC WD50 00AAKS-007AA SCSI Disk Device
ST1000DL 002-9TT153 SCSI Disk Device
WDC WD3200AAJB-00J3A0 ATA Device
WDC WD32 WD-WCAPZ2942630 USB Device
WD My Book 1140 USB Device
- PSU
- Works 550w
- Case
- MSI "M-Box"
- Cooling
- Water Cooled
- Keyboard
- Dell Keyboard
- Mouse
- Microsoft Intellimouse
- Internet Speed
- Cable Medium Speed
- Browser
- Chrome/IE 10
- Antivirus
- Eset NOD32 6.x/Win Defend
- Other Info
- Recently lost my Windows 8 on my main PC, had to go back to Windows 7.