Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell pc battery command

#Run this command in Win Powershell Admin mode

powercfg /batteryreport /output "C:attery-report.html"

#After running the command check your C drive for a file "batteryreport.html"
#The output Path in the (" ") can be changed
 
PREVIOUS NEXT
Tagged: #powershell #pc #battery #command
ADD COMMENT
Topic
Name
5+1 =