Combines Windows battery WMI classes to calculate health and charge percentages for installed batteries.
. .\Get-BatteryInfo.ps1 Get-BatteryInfo
Name, Manufacturer, SerialNumber, DesignCapacityMWh, FullChargeCapacityMWh, RemainingCapacityMWh, HealthPercent, ChargePercent, VoltageMV, Charging, Discharging, ACConnected.
On a desktop without a reported battery the command returns no results.
Source script · Documentation page
There was an error while loading. Please reload this page.
Docs website · Source