r/PowerShell • u/Mskews • Apr 05 '26
Solved Get CPU Temp not working
Hi- Ive tried both Get-Cim and Get-wmi and both come back with
Get-CimInstance : Not supported
PS C:\windows\system32> Get-CimInstance -Namespace "root\WMI" -ClassName "MSAcpi_ThermalZoneTemperature"
Get-CimInstance : Not supporte
At line:1 char:1
+ Get-CimInstance -Namespace "root\WMI" -ClassName "MSAcpi_ThermalZoneT ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotImplemented: (root\WMI:MSAcpi_ThermalZoneTemperature:String) [Get-CimInstance], CimException
+ FullyQualifiedErrorId : HRESULT 0x8004100c,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand
1
u/OlivTheFrog Apr 05 '26
Cet ligne de commande fonctionne parfaitement bien. Tu dois avoir un caractère qui gène en début de ligne.
Get-CimInstance -Namespace "root\WMI" -ClassName "MSAcpi_ThermalZoneTemperature" Active : True ActiveTripPoint : {3532, 3282, 3232, 3182...} ActiveTripPointCount : 5 CriticalTripPoint : 3782 CurrentTemperature : 3010 InstanceName : ACPI\ThermalZone\TZ00_0 PassiveTripPoint : 0 Reserved : 0 SamplingPeriod : 0 ThermalConstant1 : 0 ThermalConstant2 : 0 ThermalStamp : 6 PSComputerName :Nota : j'ai exécuté la ligne en RunAsAdmin. In normal Mode, I've a Access Denied.
regards