Windows 8 and 8.1 Forums


Fin out my PC heat via DOS

  1. #21


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    OK, the guy from that Blog responded - I'm going to try what he suggested,

    adminMay 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 System SpecsSystem Spec

  2. #22


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Even if you cannot get the Powershell command to work - And I think he just gacve the sctructure of the command, not the specific command needed for my machine or your machine, you can still pull up the sensor data by logging in to the computer;s IP address at port 8085. I just did it, you could use a command line browser to retrieve the data possibly.
      My System SpecsSystem Spec

  3. #23


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    OK, I set it up so I can retrieve my temp from my iPhone... Next step, entering my External URL - I've set up my firewall rules for the port, it should work

    Click image for larger version
      My System SpecsSystem Spec

  4. #24


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    OK - IF FOOKING WORKED! Install Open Hardware, turn "on" the web server, set the port to what you want or keep using 8085... And you shoudl be able to invoke this through powershell remotely.

    Code:
    Get-WmiObject -Namespace "Root\OpenHardwareMonitor" -Query "SELECT * FROM Sensor WHERE Sensortype='Tem
    perature'" | Format-Table Identifier,Value
    Click image for larger version
      My System SpecsSystem Spec

  5. #25


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Click image for larger version

    I made a script using Powershell ISE - The guy was very helpful. I love this, I'll me fiddling with it all day! hahaha.

    Click image for larger version
      My System SpecsSystem Spec

  6. #26


    Quote Originally Posted by XweAponX View Post
    OK, the guy from that Blog responded - I'm going to try what he suggested,

    adminMay 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
    I'm trying
      My System SpecsSystem Spec

  7. #27


    Quote Originally Posted by XweAponX View Post
    OK, the guy from that Blog responded - I'm going to try what he suggested,

    adminMay 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
    Please if can you give me more explanation about that (above *__*) because i got an exception .


    thank you .
      My System SpecsSystem Spec

  8. #28


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Ok, let me try to paste the command from my pastbin in here, see if you can copy it. I was getting the same exception - WOrdpress changes " and ' according to it's use in a sentence, and it does nto accommate lines of Code.

    Ok try this, don't let it get broken up into two separate lines:

    Code:
    Get-WmiObject -Namespace "Root\OpenHardwareMonitor" -Query "SELECT * FROM Sensor WHERE Sensortype='Temperature'" | Format-Table Identifier,Value
    Ok that worked when I copied it. Make Sure your Open Hardware is Running and the Server is Running!

    This is the script that spits out the data to a text file, it was wrking for me yesterday, but not today. But the straight command is still working fine. I think the script is not allowing me to overwrite the text file it made for some reason.

    Code:
    Get-Date >> sensordata.txtGet-WmiObject -Namespace "Root\OpenHardwareMonitor" -Query "SELECT * FROM Sensor WHERE Sensortype='Temperature'" | Format-Table Identifier,Value >> sensordata.txt
    write-output
      My System SpecsSystem Spec

  9. #29


    Sloe Deth, Californicatia
    Posts : 3,908
    Windows 8 Pro with Media Center/Windows 7


    Ok I closed up all of my Powershell windows, and re-opened it from the Program Files menu instead of the Metro tile. Seems to have worked. It is accessing the file named "sensordata.txt" and each time the script is run, it adds a new set of values for the time it was run.
      My System SpecsSystem Spec

  10. #30


    Quote Originally Posted by XweAponX View Post
    Ok, let me try to paste the command from my pastbin in here, see if you can copy it. I was getting the same exception - WOrdpress changes " and ' according to it's use in a sentence, and it does nto accommate lines of Code.

    Ok try this, don't let it get broken up into two separate lines:

    Code:
    Get-WmiObject -Namespace "Root\OpenHardwareMonitor" -Query "SELECT * FROM Sensor WHERE Sensortype='Temperature'" | Format-Table Identifier,Value
    Ok that worked when I copied it. Make Sure your Open Hardware is Running and the Server is Running!
    Correct me if i have any wrong thing...

    i have downloaded open hardware monitor (it's portable) but how do i get its server running ?
      My System SpecsSystem Spec

Page 3 of 4 FirstFirst 1234 LastLast
Fin out my PC heat via DOS
Related Threads
Vicious Heat Problem with NV52L15u in Performance & Maintenance
Hello all. I have a Gateway NV52L15u laptop with AMD Quad-Core Processor A8-4500M. I mainly use it for PC gaming, and have had major problems with overheating on even the lowest graphical settings. Running even basic games like Borderlands 2 blows boiling hot air out the vent on my PC before it...
A few days ago, a strange bug occurred on my laptop; my fan started working at 100% output. Even when the temperature was 30c. Now, that is not the problem, rather it was something I wished my computer could do. After restarting my computer, the problem was fixed (I always put my laptop to...
I noticed that when i manually set my memory to 2133 mhz (as instructed by gskill, since my memory is 2133 but if i don't change it there it will be 1600), my cpu temps go like 5-8 șC higher. Is this normal? Is there a correlation between ram performance and cpu heat?
Heat in Drivers & Hardware
Inspiron N5010 Win 8.1 Pro I was downloading some Linux distros and now the laptop seems running hotter. I don't think it is related but I wanted to supply all I could think of. I read it was suggested to run w/o the battery which we have on order as this one is n/g. I also blew it all...
hi i need to know where windows live mail in windows 8 stores its mail so i can access the old hard drive and get the mail from it if anyone can help id greatly appreciate it thanks forum
Find out more.. Mobile space to heat up, Windows 8 may benefit from BYOD | ZDNet
Eight Forums Android App Eight Forums IOS App Follow us on Facebook