LibreHardwareMonitor
LibreHardwareMonitor copied to clipboard
Reading the library via PowerShell
Good afternoon!
I'm writing a module for PowerShell (repository: https://github.com/Lifailon/PowerShellHardwareMonitor) and I have a problem when reading data directly from the library (LibreHardwareMonitorLib.dll). On two different machines, I'm not getting readings from all the sensors. If I use the CIM (Common Information Model), I get all sensors (there are many more than OpenHardwareMonitor). In the same way I can read the data of all sensors via REST API. All workarounds need a working instance of the application, but I would like to read from the library.
Can you suggest what the problem is related to? Thank you!
Examples:
$path = "$home\Documents\LibreHardwareMonitor"
$Computer = New-Object -TypeName LibreHardwareMonitor.Hardware.Computer
$Computer.IsCpuEnabled = $true
$Computer.IsGpuEnabled = $true
$Computer.IsMemoryEnabled = $true
$Computer.IsMotherboardEnabled = $true
$Computer.IsNetworkEnabled = $true
$Computer.IsPsuEnabled = $true
$Computer.IsStorageEnabled = $true
$Computer.IsControllerEnabled = $true
$Computer.IsBatteryEnabled = $true
$Computer.Open()
$Sensors = $computer.Hardware.Sensors | Select-Object @{
name = "HardwareName"
expression = {
$_.Hardware.Sensors[0].Hardware.Name
}
},
@{name = "SensorName";expression = { $_.Name }},
@{name = "SensorType";expression = { "$($_.SensorType) $($_.Index)" }},
@{name = "Value";expression = { [int]$_.Value }},
@{name = "Min";expression = { [int]$_.Min }},
@{name = "Max";expression = { [int]$_.Max }}
$Sensors | Sort-Object HardwareName,SensorType,SensorName | Format-Table
Output:
HardwareName SensorName SensorType Value Min Max
------------ ---------- ---------- ----- --- ---
12th Gen Intel Core i7-1260P Bus Speed Clock 0 100 100 100
12th Gen Intel Core i7-1260P CPU Core #1 Clock 1 399 399 399
12th Gen Intel Core i7-1260P CPU Core #10 Clock 10 1098 1098 1098
12th Gen Intel Core i7-1260P CPU Core #11 Clock 11 699 699 699
12th Gen Intel Core i7-1260P CPU Core #12 Clock 12 599 599 599
12th Gen Intel Core i7-1260P CPU Core #2 Clock 2 3794 3794 3794
12th Gen Intel Core i7-1260P CPU Core #3 Clock 3 1697 1697 1697
12th Gen Intel Core i7-1260P CPU Core #4 Clock 4 599 599 599
12th Gen Intel Core i7-1260P CPU Core #5 Clock 5 2895 2895 2895
12th Gen Intel Core i7-1260P CPU Core #6 Clock 6 2795 2795 2795
12th Gen Intel Core i7-1260P CPU Core #7 Clock 7 899 899 899
12th Gen Intel Core i7-1260P CPU Core #8 Clock 8 998 998 998
12th Gen Intel Core i7-1260P CPU Core #9 Clock 9 899 899 899
12th Gen Intel Core i7-1260P CPU Total Load 0 4 4 4
12th Gen Intel Core i7-1260P CPU Core Max Load 1 99 99 99
12th Gen Intel Core i7-1260P CPU Core #5 Load 10 15 15 15
12th Gen Intel Core i7-1260P CPU Core #6 Load 11 15 15 15
12th Gen Intel Core i7-1260P CPU Core #7 Load 12 15 15 15
12th Gen Intel Core i7-1260P CPU Core #8 Load 13 21 21 21
12th Gen Intel Core i7-1260P CPU Core #9 Load 14 15 15 15
12th Gen Intel Core i7-1260P CPU Core #10 Load 15 15 15 15
12th Gen Intel Core i7-1260P CPU Core #11 Load 16 15 15 15
12th Gen Intel Core i7-1260P CPU Core #12 Load 17 94 94 94
12th Gen Intel Core i7-1260P CPU Core #1 Thread #1 Load 2 99 99 99
12th Gen Intel Core i7-1260P CPU Core #1 Thread #2 Load 3 0 0 0
12th Gen Intel Core i7-1260P CPU Core #2 Thread #1 Load 4 19 19 19
12th Gen Intel Core i7-1260P CPU Core #2 Thread #2 Load 5 0 0 0
12th Gen Intel Core i7-1260P CPU Core #3 Thread #1 Load 6 27 27 27
12th Gen Intel Core i7-1260P CPU Core #3 Thread #2 Load 7 0 0 0
12th Gen Intel Core i7-1260P CPU Core #4 Thread #1 Load 8 13 13 13
12th Gen Intel Core i7-1260P CPU Core #4 Thread #2 Load 9 0 0 0
12th Gen Intel Core i7-1260P CPU Package Power 0 5 5 5
12th Gen Intel Core i7-1260P CPU Cores Power 1 2 2 2
12th Gen Intel Core i7-1260P CPU Memory Power 3 0 0 0
12th Gen Intel Core i7-1260P CPU Core #1 Temperature 0 57 57 57
12th Gen Intel Core i7-1260P CPU Core #2 Temperature 1 49 49 49
12th Gen Intel Core i7-1260P CPU Core #11 Temperature 10 51 51 51
12th Gen Intel Core i7-1260P CPU Core #12 Temperature 11 51 51 51
12th Gen Intel Core i7-1260P CPU Package Temperature 12 55 55 55
12th Gen Intel Core i7-1260P CPU Core #1 Distance to TjMax Temperature 13 43 43 43
12th Gen Intel Core i7-1260P CPU Core #2 Distance to TjMax Temperature 14 51 51 51
12th Gen Intel Core i7-1260P CPU Core #3 Distance to TjMax Temperature 15 46 46 46
12th Gen Intel Core i7-1260P CPU Core #4 Distance to TjMax Temperature 16 53 53 53
12th Gen Intel Core i7-1260P CPU Core #5 Distance to TjMax Temperature 17 47 47 47
12th Gen Intel Core i7-1260P CPU Core #6 Distance to TjMax Temperature 18 47 47 47
12th Gen Intel Core i7-1260P CPU Core #7 Distance to TjMax Temperature 19 47 47 47
12th Gen Intel Core i7-1260P CPU Core #3 Temperature 2 54 54 54
12th Gen Intel Core i7-1260P CPU Core #8 Distance to TjMax Temperature 20 47 47 47
12th Gen Intel Core i7-1260P CPU Core #9 Distance to TjMax Temperature 21 49 49 49
12th Gen Intel Core i7-1260P CPU Core #10 Distance to TjMax Temperature 22 49 49 49
12th Gen Intel Core i7-1260P CPU Core #11 Distance to TjMax Temperature 23 49 49 49
12th Gen Intel Core i7-1260P CPU Core #12 Distance to TjMax Temperature 24 49 49 49
12th Gen Intel Core i7-1260P Core Max Temperature 25 57 57 57
12th Gen Intel Core i7-1260P Core Average Temperature 26 52 52 52
12th Gen Intel Core i7-1260P CPU Core #4 Temperature 3 47 47 47
12th Gen Intel Core i7-1260P CPU Core #5 Temperature 4 53 53 53
12th Gen Intel Core i7-1260P CPU Core #6 Temperature 5 53 53 53
12th Gen Intel Core i7-1260P CPU Core #7 Temperature 6 53 53 53
12th Gen Intel Core i7-1260P CPU Core #8 Temperature 7 53 53 53
12th Gen Intel Core i7-1260P CPU Core #9 Temperature 8 51 51 51
12th Gen Intel Core i7-1260P CPU Core #10 Temperature 9 51 51 51
12th Gen Intel Core i7-1260P CPU Core Voltage 0 1 1 1
12th Gen Intel Core i7-1260P CPU Core #1 Voltage 1 1 1 1
12th Gen Intel Core i7-1260P CPU Core #10 Voltage 10 1 1 1
12th Gen Intel Core i7-1260P CPU Core #11 Voltage 11 1 1 1
12th Gen Intel Core i7-1260P CPU Core #12 Voltage 12 1 1 1
12th Gen Intel Core i7-1260P CPU Core #2 Voltage 2 1 1 1
12th Gen Intel Core i7-1260P CPU Core #3 Voltage 3 1 1 1
12th Gen Intel Core i7-1260P CPU Core #4 Voltage 4 1 1 1
12th Gen Intel Core i7-1260P CPU Core #5 Voltage 5 1 1 1
12th Gen Intel Core i7-1260P CPU Core #6 Voltage 6 1 1 1
12th Gen Intel Core i7-1260P CPU Core #7 Voltage 7 1 1 1
12th Gen Intel Core i7-1260P CPU Core #8 Voltage 8 1 1 1
12th Gen Intel Core i7-1260P CPU Core #9 Voltage 9 1 1 1
Беспроводная сеть Data Uploaded Data 2 0 0 0
Беспроводная сеть Data Downloaded Data 3 0 0 0
Беспроводная сеть Network Utilization Load 1 0 0 0
Беспроводная сеть Upload Speed Throughput 7 0 0 0
Беспроводная сеть Download Speed Throughput 8 0 0 0
Подключение по локальной сети Data Uploaded Data 2 0 0 0
Подключение по локальной сети Data Downloaded Data 3 0 0 0
Подключение по локальной сети Network Utilization Load 1 0 0 0
Подключение по локальной сети Upload Speed Throughput 7 0 0 0
Подключение по локальной сети Download Speed Throughput 8 0 0 0
Подключение по локальной сети* 10 Data Uploaded Data 2 0 0 0
Подключение по локальной сети* 10 Data Downloaded Data 3 0 0 0
Подключение по локальной сети* 10 Network Utilization Load 1 0 0 0
Подключение по локальной сети* 10 Upload Speed Throughput 7 0 0 0
Подключение по локальной сети* 10 Download Speed Throughput 8 0 0 0
Подключение по локальной сети* 9 Data Uploaded Data 2 0 0 0
Подключение по локальной сети* 9 Data Downloaded Data 3 0 0 0
Подключение по локальной сети* 9 Network Utilization Load 1 0 0 0
Подключение по локальной сети* 9 Upload Speed Throughput 7 0 0 0
Подключение по локальной сети* 9 Download Speed Throughput 8 0 0 0
Сетевое подключение Bluetooth Data Uploaded Data 2 0 0 0
Сетевое подключение Bluetooth Data Downloaded Data 3 0 0 0
Сетевое подключение Bluetooth Network Utilization Load 1 0 0 0
Сетевое подключение Bluetooth Upload Speed Throughput 7 0 0 0
Сетевое подключение Bluetooth Download Speed Throughput 8 0 0 0
Generic Memory Memory Used Data 0 0 0 0
Generic Memory Memory Available Data 1 0 0 0
Generic Memory Virtual Memory Used Data 2 0 0 0
Generic Memory Virtual Memory Available Data 3 0 0 0
Generic Memory Memory Load 0 0 0 0
Generic Memory Virtual Memory Load 1 0 0 0
HB5781P1EEW-31T Current Current 2 0 0 0
HB5781P1EEW-31T Designed Capacity Energy 3 0 0 0
HB5781P1EEW-31T Full Charged Capacity Energy 4 0 0 0
HB5781P1EEW-31T Remaining Capacity Energy 5 0 0 0
HB5781P1EEW-31T Charge Level Level 0 0 0 0
HB5781P1EEW-31T Degradation Level Level 0 0 0 0
HB5781P1EEW-31T Charge/Discharge Rate Power 0 0 0 0
HB5781P1EEW-31T Remaining Time (Estimated) TimeSpan 0 0 0 0
HB5781P1EEW-31T Voltage Voltage 1 0 0 0
HotspotShield Network Adapter Data Uploaded Data 2 0 0 0
HotspotShield Network Adapter Data Downloaded Data 3 0 0 0
HotspotShield Network Adapter Network Utilization Load 1 0 0 0
HotspotShield Network Adapter Upload Speed Throughput 7 0 0 0
HotspotShield Network Adapter Download Speed Throughput 8 0 0 0
Intel(R) Iris(R) Xe Graphics GPU Power Power 0 0 0 0
ProtonVPN TUN Data Uploaded Data 2 0 0 0
ProtonVPN TUN Data Downloaded Data 3 0 0 0
ProtonVPN TUN Network Utilization Load 1 0 0 0
ProtonVPN TUN Upload Speed Throughput 7 0 0 0
ProtonVPN TUN Download Speed Throughput 8 0 0 0
Radmin VPN Data Uploaded Data 2 0 0 0
Radmin VPN Data Downloaded Data 3 0 0 0
Radmin VPN Network Utilization Load 1 0 0 0
Radmin VPN Upload Speed Throughput 7 0 0 0
Radmin VPN Download Speed Throughput 8 0 0 0
vEthernet (Default Switch) Data Uploaded Data 2 0 0 0
vEthernet (Default Switch) Data Downloaded Data 3 0 0 0
vEthernet (Default Switch) Network Utilization Load 1 0 0 0
vEthernet (Default Switch) Upload Speed Throughput 7 0 0 0
vEthernet (Default Switch) Download Speed Throughput 8 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Data Read Data 4 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Data Written Data 5 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Available Spare Level 1 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Available Spare Threshold Level 2 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Percentage Used Level 3 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Used Space Load 0 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Read Activity Load 31 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Write Activity Load 32 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Total Activity Load 33 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Temperature Temperature 0 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Temperature 1 Temperature 6 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Temperature 2 Temperature 7 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Read Rate Throughput 34 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Write Rate Throughput 35 0 0 0
Working example via CIM:
Get-Sensor -Libre | Format-Table
HardwareName SensorName SensorType Value Min Max
------------ ---------- ---------- ----- --- ---
12th Gen Intel Core i7-1260P Bus Speed Clock 0 100 100 100
12th Gen Intel Core i7-1260P CPU Core #1 Clock 1 899 399 4693
12th Gen Intel Core i7-1260P CPU Core #10 Clock 10 599 399 3395
12th Gen Intel Core i7-1260P CPU Core #11 Clock 11 2796 399 3395
12th Gen Intel Core i7-1260P CPU Core #12 Clock 12 2396 399 3395
12th Gen Intel Core i7-1260P CPU Core #2 Clock 2 1298 399 4693
12th Gen Intel Core i7-1260P CPU Core #3 Clock 3 1198 399 4693
12th Gen Intel Core i7-1260P CPU Core #4 Clock 4 1398 399 4693
12th Gen Intel Core i7-1260P CPU Core #5 Clock 5 998 399 3395
12th Gen Intel Core i7-1260P CPU Core #6 Clock 6 899 399 3395
12th Gen Intel Core i7-1260P CPU Core #7 Clock 7 599 399 3395
12th Gen Intel Core i7-1260P CPU Core #8 Clock 8 799 399 3395
12th Gen Intel Core i7-1260P CPU Core #9 Clock 9 699 399 3395
12th Gen Intel Core i7-1260P CPU Total Load 0 3 0 100
12th Gen Intel Core i7-1260P CPU Core Max Load 1 8 1 100
12th Gen Intel Core i7-1260P CPU Core #5 Load 10 5 0 100
12th Gen Intel Core i7-1260P CPU Core #6 Load 11 7 0 100
12th Gen Intel Core i7-1260P CPU Core #7 Load 12 4 0 100
12th Gen Intel Core i7-1260P CPU Core #8 Load 13 8 0 100
12th Gen Intel Core i7-1260P CPU Core #9 Load 14 6 0 100
12th Gen Intel Core i7-1260P CPU Core #10 Load 15 8 0 100
12th Gen Intel Core i7-1260P CPU Core #11 Load 16 4 0 100
12th Gen Intel Core i7-1260P CPU Core #12 Load 17 7 0 100
12th Gen Intel Core i7-1260P CPU Core #1 Thread #1 Load 2 4 0 100
12th Gen Intel Core i7-1260P CPU Core #1 Thread #2 Load 3 0 0 100
12th Gen Intel Core i7-1260P CPU Core #2 Thread #1 Load 4 0 0 100
12th Gen Intel Core i7-1260P CPU Core #2 Thread #2 Load 5 0 0 100
12th Gen Intel Core i7-1260P CPU Core #3 Thread #1 Load 6 0 0 100
12th Gen Intel Core i7-1260P CPU Core #3 Thread #2 Load 7 0 0 100
12th Gen Intel Core i7-1260P CPU Core #4 Thread #1 Load 8 0 0 100
12th Gen Intel Core i7-1260P CPU Core #4 Thread #2 Load 9 0 0 100
12th Gen Intel Core i7-1260P CPU Package Power 0 4 0 49
12th Gen Intel Core i7-1260P CPU Cores Power 1 1 0 43
12th Gen Intel Core i7-1260P CPU Memory Power 3 0 0 0
12th Gen Intel Core i7-1260P CPU Core #1 Temperature 0 47 27 100
12th Gen Intel Core i7-1260P CPU Core #2 Temperature 1 47 29 95
12th Gen Intel Core i7-1260P CPU Core #11 Temperature 10 43 23 87
12th Gen Intel Core i7-1260P CPU Core #12 Temperature 11 43 23 88
12th Gen Intel Core i7-1260P CPU Package Temperature 12 49 31 100
12th Gen Intel Core i7-1260P CPU Core #1 Distance to TjMax Temperature 13 53 0 73
12th Gen Intel Core i7-1260P CPU Core #2 Distance to TjMax Temperature 14 53 5 71
12th Gen Intel Core i7-1260P CPU Core #3 Distance to TjMax Temperature 15 53 4 73
12th Gen Intel Core i7-1260P CPU Core #4 Distance to TjMax Temperature 16 56 3 74
12th Gen Intel Core i7-1260P CPU Core #5 Distance to TjMax Temperature 17 52 13 70
12th Gen Intel Core i7-1260P CPU Core #6 Distance to TjMax Temperature 18 52 13 70
12th Gen Intel Core i7-1260P CPU Core #7 Distance to TjMax Temperature 19 51 13 70
12th Gen Intel Core i7-1260P CPU Core #3 Temperature 2 47 27 96
12th Gen Intel Core i7-1260P CPU Core #8 Distance to TjMax Temperature 20 51 11 70
12th Gen Intel Core i7-1260P CPU Core #9 Distance to TjMax Temperature 21 57 12 77
12th Gen Intel Core i7-1260P CPU Core #10 Distance to TjMax Temperature 22 57 13 77
12th Gen Intel Core i7-1260P CPU Core #11 Distance to TjMax Temperature 23 57 13 77
12th Gen Intel Core i7-1260P CPU Core #12 Distance to TjMax Temperature 24 57 12 77
12th Gen Intel Core i7-1260P Core Max Temperature 25 49 32 100
12th Gen Intel Core i7-1260P Core Average Temperature 26 46 28 88
12th Gen Intel Core i7-1260P CPU Core #4 Temperature 3 44 26 97
12th Gen Intel Core i7-1260P CPU Core #5 Temperature 4 48 30 87
12th Gen Intel Core i7-1260P CPU Core #6 Temperature 5 48 30 87
12th Gen Intel Core i7-1260P CPU Core #7 Temperature 6 49 30 87
12th Gen Intel Core i7-1260P CPU Core #8 Temperature 7 49 30 89
12th Gen Intel Core i7-1260P CPU Core #9 Temperature 8 43 23 88
12th Gen Intel Core i7-1260P CPU Core #10 Temperature 9 43 23 87
12th Gen Intel Core i7-1260P CPU Core Voltage 0 1 1 1
12th Gen Intel Core i7-1260P CPU Core #1 Voltage 1 1 1 1
12th Gen Intel Core i7-1260P CPU Core #10 Voltage 10 1 1 1
12th Gen Intel Core i7-1260P CPU Core #11 Voltage 11 1 1 1
12th Gen Intel Core i7-1260P CPU Core #12 Voltage 12 1 1 1
12th Gen Intel Core i7-1260P CPU Core #2 Voltage 2 1 1 1
12th Gen Intel Core i7-1260P CPU Core #3 Voltage 3 1 1 1
12th Gen Intel Core i7-1260P CPU Core #4 Voltage 4 1 1 1
12th Gen Intel Core i7-1260P CPU Core #5 Voltage 5 1 1 1
12th Gen Intel Core i7-1260P CPU Core #6 Voltage 6 1 1 1
12th Gen Intel Core i7-1260P CPU Core #7 Voltage 7 1 1 1
12th Gen Intel Core i7-1260P CPU Core #8 Voltage 8 1 1 1
12th Gen Intel Core i7-1260P CPU Core #9 Voltage 9 1 1 1
Беспроводная сеть Data Uploaded Data 2 1 0 1
Беспроводная сеть Data Downloaded Data 3 2 0 2
Беспроводная сеть Network Utilization Load 1 0 0 100
Беспроводная сеть Upload Speed Throughput 7 109 0 202360608
Беспроводная сеть Download Speed Throughput 8 343 0 531055936
Подключение по локальной сети Data Uploaded Data 2 0 0 0
Подключение по локальной сети Data Downloaded Data 3 0 0 0
Подключение по локальной сети Network Utilization Load 1 0 0 0
Подключение по локальной сети Upload Speed Throughput 7 0 0 0
Подключение по локальной сети Download Speed Throughput 8 0 0 0
Подключение по локальной сети* 9 Data Uploaded Data 2 0 0 0
Подключение по локальной сети* 9 Data Downloaded Data 3 0 0 0
Подключение по локальной сети* 9 Network Utilization Load 1 0 0 0
Подключение по локальной сети* 9 Upload Speed Throughput 7 0 0 0
Подключение по локальной сети* 9 Download Speed Throughput 8 0 0 0
Сетевое подключение Bluetooth Data Uploaded Data 2 0 0 0
Сетевое подключение Bluetooth Data Downloaded Data 3 0 0 0
Сетевое подключение Bluetooth Network Utilization Load 1 0 0 0
Сетевое подключение Bluetooth Upload Speed Throughput 7 0 0 0
Сетевое подключение Bluetooth Download Speed Throughput 8 0 0 0
Generic Memory Memory Used Data 0 11 5 14
Generic Memory Memory Available Data 1 5 1 10
Generic Memory Virtual Memory Used Data 2 17 5 22
Generic Memory Virtual Memory Available Data 3 47 42 58
Generic Memory Memory Load 0 70 34 91
Generic Memory Virtual Memory Load 1 27 8 34
HB5781P1EEW-31T Discharge Current Current 2 0 0 4
HB5781P1EEW-31T Designed Capacity Energy 3 59424 59424 59424
HB5781P1EEW-31T Full Charged Capacity Energy 4 52367 52367 52367
HB5781P1EEW-31T Remaining Capacity Energy 5 43716 8466 46223
HB5781P1EEW-31T Charge Level Level 0 83 16 88
HB5781P1EEW-31T Degradation Level Level 0 12 12 12
HB5781P1EEW-31T Discharge Rate Power 0 1 0 46
HB5781P1EEW-31T Remaining Time (Estimated) TimeSpan 0 109900 836 109900
HB5781P1EEW-31T Voltage Voltage 1 12 11 13
HotspotShield Network Adapter Data Uploaded Data 2 0 0 0
HotspotShield Network Adapter Data Downloaded Data 3 0 0 0
HotspotShield Network Adapter Network Utilization Load 1 0 0 0
HotspotShield Network Adapter Upload Speed Throughput 7 0 0 0
HotspotShield Network Adapter Download Speed Throughput 8 0 0 0
Intel(R) Iris(R) Xe Graphics D3D 3D Load 0 1 0 75
Intel(R) Iris(R) Xe Graphics D3D Copy Load 1 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Video Decode Load 10 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Video Processing Load 11 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Video Processing Load 12 0 0 0
Intel(R) Iris(R) Xe Graphics D3D GDI Render Load 2 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 3 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 4 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 5 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 6 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 7 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Other Load 8 0 0 0
Intel(R) Iris(R) Xe Graphics D3D Video Decode Load 9 0 0 0
Intel(R) Iris(R) Xe Graphics GPU Power Power 0 0 0 150141
Intel(R) Iris(R) Xe Graphics D3D Shared Memory Used SmallData 0 1787 437 2744
ProtonVPN TUN Data Uploaded Data 2 0 0 0
ProtonVPN TUN Data Downloaded Data 3 0 0 0
ProtonVPN TUN Network Utilization Load 1 0 0 0
ProtonVPN TUN Upload Speed Throughput 7 0 0 0
ProtonVPN TUN Download Speed Throughput 8 0 0 0
Radmin VPN Data Uploaded Data 2 0 0 0
Radmin VPN Data Downloaded Data 3 0 0 0
Radmin VPN Network Utilization Load 1 0 0 0
Radmin VPN Upload Speed Throughput 7 0 0 3414
Radmin VPN Download Speed Throughput 8 0 0 152
vEthernet (Default Switch) Data Uploaded Data 2 0 0 0
vEthernet (Default Switch) Data Downloaded Data 3 0 0 0
vEthernet (Default Switch) Network Utilization Load 1 0 0 0
vEthernet (Default Switch) Upload Speed Throughput 7 0 0 147985
vEthernet (Default Switch) Download Speed Throughput 8 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Data Read Data 4 10469 0 10469
WD PC SN740 SDDPNQD-1T00-1027 Data Written Data 5 10325 0 10325
WD PC SN740 SDDPNQD-1T00-1027 Available Spare Level 1 100 0 100
WD PC SN740 SDDPNQD-1T00-1027 Available Spare Threshold Level 2 10 0 10
WD PC SN740 SDDPNQD-1T00-1027 Percentage Used Level 3 0 0 0
WD PC SN740 SDDPNQD-1T00-1027 Used Space Load 0 52 52 53
WD PC SN740 SDDPNQD-1T00-1027 Read Activity Load 31 0 0 100
WD PC SN740 SDDPNQD-1T00-1027 Write Activity Load 32 1 0 100
WD PC SN740 SDDPNQD-1T00-1027 Total Activity Load 33 1 0 100
WD PC SN740 SDDPNQD-1T00-1027 Temperature Temperature 0 46 0 68
WD PC SN740 SDDPNQD-1T00-1027 Temperature 1 Temperature 6 56 0 87
WD PC SN740 SDDPNQD-1T00-1027 Temperature 2 Temperature 7 46 0 68
WD PC SN740 SDDPNQD-1T00-1027 Read Rate Throughput 34 0 0 407017824
WD PC SN740 SDDPNQD-1T00-1027 Write Rate Throughput 35 12168 0 766726400
Is there any way to retrieve the motherboard temperature using PowerShell, as the first script failed to do so while the program running outputs the motherboard temperature?
Is there any way to retrieve the motherboard temperature using PowerShell, as the first script failed to do so while the program running outputs the motherboard temperature?
This can be done via a running instance of the LibreHardwareMonitor application, here is an example on my system:
Get-Sensor | Where-Object HardwareName -like *nuvoton* | Where-Object SensorType -like *temp* | Format-List
Output:
HardwareName : Nuvoton NCT6687D
SensorName : CPU
SensorType : Temperature 0
Value : 38
Min : 30
Max : 60
HardwareName : Nuvoton NCT6687D
SensorName : System
SensorType : Temperature 1
Value : 44
Min : 36
Max : 48
HardwareName : Nuvoton NCT6687D
SensorName : VRM MOS
SensorType : Temperature 2
Value : 48
Min : 40
Max : 56
HardwareName : Nuvoton NCT6687D
SensorName : PCH
SensorType : Temperature 3
Value : 48
Min : 39
Max : 53
HardwareName : Nuvoton NCT6687D
SensorName : CPU Socket
SensorType : Temperature 4
Value : 40
Min : 32
Max : 48
HardwareName : Nuvoton NCT6687D
SensorName : PCIe x1
SensorType : Temperature 5
Value : 29
Min : 29
Max : 29
HardwareName : Nuvoton NCT6687D
SensorName : M2_1
SensorType : Temperature 6
Value : 23
Min : 23
Max : 24
The problem is that this data can only be retrieved through the WMI/CIM system or REST API, but it is impossible to retrieve all the data through the library, even using latency (regardless of whether the application process is running or not).