Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

PowerTip: Generate an HTML Battery-Life Report in PowerShell

$
0
0

Summary: Use Windows PowerShell and generate an HTML battery-life report.

Hey, Scripting Guy! Question How can I generate an HTML battery-life report on my laptop to see expected battery life?

Hey, Scripting Guy! Answer Open Windows PowerShell as an administrator and type the following command:

powercfg /batteryreport

The command reports a destination for the report that you open by using the Invoke-Item cmdlet (ii is an alias):

ii C:\battery-report.html


Viewing all articles
Browse latest Browse all 17778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>