PowerShell Script Get-BatteryChargeStatus

Update 01.08.2017

I have updated the script to ensure that the Windows.Devices.Power.Battery class is properly loaded, as this wasn’t the case in a PowerShell 64 bit session.

A little script i wrote to retrieve the Battery Charge status. The script makes use of the BatteryReport class that agregates the information should the device have more than one battery like the Surface Book.


3 Replies to “PowerShell Script Get-BatteryChargeStatus”

  1. This is missing: Get-ExecutionPolicy -List and Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Leave a Reply