# Diagnose a misbehaving Windows PC with built-in PowerShell commands

A Windows PC that freezes, loses its battery charge overnight or reboots without warning can often be checked with a handful of PowerShell commands that ship with the system, before any money goes to a repair shop. These commands report storage reliability counters, battery capacity, activity during

| Fact | Value |
| --- | --- |
| Published | 18 November 2026 |

Source: https://egamers.io/diagnose-a-misbehaving-windows-pc-with-built-in-powershell-commands/
