Hi,
I'm Sumit, here to assist with your question.
Apologies for any inconvenience - I'm happy to help you today.
As Marcin said, the command is incorrect in two ways.
powercfg<space>/batteryreport
Parameters:
/output <filepath> – specifies custom path and filename for the report (default: C:\Windows\System32\battery-report.html)
Example:
powercfg /batteryreport /output "C:\Reports\battery.html"
/duration <days> – limits report data to specified number of past days (default: all available data)
Example:
powercfg /batteryreport /duration 7
/xml – generates the report in XML format instead of HTML
Example:
powercfg /batteryreport /xml /output "C:\Reports\battery.xml"
I hope you find this information useful. If you have any more questions, don't hesitate to reach out. Otherwise, please take a moment to accept the answer. Wishing you good luck!