PowerShell
PowerShell copied to clipboard
powercfg /batteryreport /output "C:\battery-report.html" funktioniert auch unter Powershell 7.2 nicht
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest released version
- [X] Search the existing issues.
- [X] Refer to the FAQ.
- [X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.
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
I'm assuming you are running elevated ?

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