Tuesday, February 2, 2016

PowerShell Tips : Getting the Charging percentage of Laptop's Battery using PowerShell.

 

Ever think to find about the charging time about the laptop's battery?  There a cool WMI class "Win32_Battery ". for it.. try it.

Get-WmiObject Win32_Battery   | Select Caption,Name,DesignVoltage,DeviceID,EstimatedChargeRemaining,EstimatedRunTime

 

 

2

 
 
With Regards.
Aman Dhally
If you like, you can follow me on Twitter and Facebook. You can also check my “You Tube channel for PowerShell video tutorials. You can download all of my scripts from “Microsoft TechNet Gallery”.

No comments:

Post a Comment