Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

Discover How to Monitor Temperature with WMIC

Introduction to WMIC Temperature Monitoring

Monitoring the temperature of your Windows system is crucial to ensure its optimal performance and prevent hardware damage. One powerful tool at your disposal is the Windows Management Instrumentation Command-line (WMIC) utility. In this article, we will explore how to use WMIC to monitor temperature and gain valuable insights into your system's health.

Examples:

  1. How to Create a WMIC Temperature Monitor:

To create a WMIC temperature monitor, follow these steps:

Step 1: Open a Command Prompt window with administrative privileges.

Step 2: Run the following command to create a new WMIC alias for temperature monitoring:

wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature create /name="TemperatureMonitor" /value=""

Step 3: Once the alias is created, you can use it to retrieve temperature data.

  1. How to Run WMIC Temperature Monitor via CMD:

To run the WMIC temperature monitor via the Command Prompt, follow these steps:

Step 1: Open a Command Prompt window with administrative privileges.

Step 2: Run the following command to retrieve temperature data:

wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature

Step 3: The output will display the current temperature in tenths of degrees Celsius. Convert the value to Celsius using the formula: (Value / 10) - 273.15.

  1. How to Get WMIC Temperature via PowerShell:

To retrieve temperature data using PowerShell, follow these steps:

Step 1: Open a PowerShell window with administrative privileges.

Step 2: Run the following command to retrieve temperature data:

Get-WmiObject -Namespace "root/wmi" -Class MSAcpi_ThermalZoneTemperature | Select-Object -ExpandProperty CurrentTemperature

Step 3: The output will display the current temperature in tenths of degrees Celsius. Convert the value to Celsius using the formula: (Value / 10) - 273.15.

To share Download PDF

Tags: Windows CMD WMIC Temperature Monitoring PowerShell

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.