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 - Export-Csv versus Export-Clixml
Powershell - Export-Csv versus Export-Clixml, or the limits of Export-CsvPowershell - Overview of Where-Object basic syntax and its limitations
Powershell - Overview of Where-Object basic syntax and its limitationsPowershell - Hyper-V - Give a custom name to a virtual network adapter
Hyper-V defaults to naming virtual machine NICs as network adapters. This can make it difficult to identify their usage, but this problem can be solved with Powershell which allows you to change the name of virtual network adapters.Powershell - How to add and view a GPO description
How to add and view a GPO description in PowershellPowershell - Displaying and changing the power mode in Windows
How to display and modify the power mode in Windows with PowershellPowershell - Adding a line to a file from a specific line
How to add a line to a file from a specific line with Powershell
Follow me on
Support me
Last content
Powershell - Export-Csv versus Export-Clixml
Powershell - Overview of Where-Object basic syntax and its limitations
Powershell - Hyper-V - Give a custom name to a virtual network adapter
Powershell - How to add and view a GPO description
Powershell - Displaying and changing the power mode in Windows
Powershell - Adding a line to a file from a specific line
Windows 11 - how to organise your Start menu
Overview of the different types of application in Windows
Windows - Get remote help easily with Quick Assist
How to add and change languages in Windows 10 and Windows 11