Sunday, February 14, 2016

PowerShell Tips : Find a information on Full battery charge and Design capacity.

 

Do you like to know about the Battery Chageing status aand design capacity of the laptop battery, try the below wmi class :) .

 

(Get-WmiObject -Class "BatteryStaticData" -Namespace "ROOT\WMI").DesignedCapacity

 

 

 

(Get-WmiObject -Class "BatteryFullChargedCapacity" -Namespace "ROOT\WMI").FullChargedCapacity

 

01

 

 

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”.

1 comment:

  1. Hi I would like to know the status of accelerator board battery for HP Servers

    ReplyDelete