PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

powercfg /batteryreport /output "C:\battery-report.html" funktioniert auch unter Powershell 7.2 nicht

Open ber999 opened this issue 3 years ago • 1 comments

Prerequisites

Steps to reproduce

powercfg /batteryreport /output "C:\battery-report.html" funktioniert auch unter Powershell 7.2 nicht.

Expected behavior

PS creates report

Actual behavior

PS does nothing

Error details

No response

Environment data

PS C:\Program Files\PowerShell\7> psversiontable
psversiontable: The term 'psversiontable' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Visuals

No response

ber999 avatar Aug 09 '22 06:08 ber999

I'm assuming you are running elevated ? image

jhoneill avatar Aug 09 '22 15:08 jhoneill

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

msftbot[bot] avatar Aug 14 '22 00:08 msftbot[bot]