Get Laptop Battery DeviceID and Name via WMIC

Posted on January 9, 2021 at 1:31 pm

Query the Win32_Battery class via WMIC from command-line:

WMIC Path Win32_Battery get DeviceID,Name /format:list

The output is like this:

DeviceID= ASUSTeKASUS Battery
Name=ASUS Battery

Receive updates via email

Other Posts

Updated Posts