cmd battery report code example Example: wundows battery report powercfg /batteryreport /output "C:\battery_report.html"