🖥️ Batch (CMD)

Get Battery Info Report (Batch)

Uses wmic to list Battery Info (Win32_Battery) straight from the command line.

By WindowsScripting.com · 317 B
GetBatteryReport.bat
@echo off
:: ============================================================
:: GetBatteryReport.bat
::
:: Reports Battery Info via WMI (Win32_Battery).
:: ============================================================

wmic path Win32_Battery get Name,EstimatedChargeRemaining,BatteryStatus,Chemistry /format:table

pause