Powershell - Displaying and changing the power mode in Windows
To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!
Hello,
For some time now, I’ve been paying more attention to my energy consumption, and of course that includes the power consumption of my work PC. In normal use, I haven’t seen any big difference in power consumption between normal and performance mode (in normal use), but in energy-saving mode I’ve reduced it by more than 60w (roughly 140w instead of 200w).
I haven’t noticed any slowdown in the power consumption of my PC. I didn’t experience any annoying sluggishness in power-saving mode, but to be on the safe side I switch to performance mode when I’m making and encoding videos or 3D.
. But switching from economy to performance takes too much graphical action (and I’m lazy) whereas a small powershell function launches quickly.
This can be turned into two simple functions The first to display the power mode
And the second to change the power mode
Related links
Powershell - Managing IP configuration of network interfaces
Powershell commands to view and modify the IP configuration of network interfacesPowershell - Managing the status and configuration of network interfaces
Powershell commands to view and modify the status and configuration of network interfaces (disable IPv6, enable/disable an interface)Powershell and the Left Hand Side
An important concept in Powershell, the Left Hand SidePowershell - Managing disks, partitions and volumes
How to manage disks, partitions and volumes in PowershellPowershell - Managing System Restore Points in Windows
How to manage system restore points in WindowsPowershell - Playing with the Windows clipboard
“How to send and retrieve information from the Windows clipboard”
Follow me on
Support me
Last content
Powershell - Managing IP configuration of network interfaces
Powershell - Managing the status and configuration of network interfaces
Powershell and the Left Hand Side
Powershell - Managing disks, partitions and volumes
Powershell - Managing System Restore Points in Windows
Powershell - Playing with the Windows clipboard
Powershell - Changing the state of a computer (sleep, hibernate, shutdown, restart)
Powershell - Compress-Archive and Expand-Archive to create and extract ZIP archives
Powershell - Export-Csv versus Export-Clixml
Powershell - Overview of Where-Object basic syntax and its limitations