How do I change Power configurations for a laptop in PowerShell

Answered How do I change Power configurations for a laptop in PowerShell

  • Friday, August 17, 2012 5:32 PM
     
     

    I know how to do it in a .bat file but is there a command in PowerShell that would allow me to change the power management to High Performance? 

    In the CMD prompt it is powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

All Replies

  • Friday, August 17, 2012 5:55 PM
     
     Answered

    Anything you can do in a command prompt, you can do in a powershell console. As long as the commands are still supported in windows.

    Here is a script from the gallery, found it with a quick search in google, that looks like it uses the powercfg

    Power Scheme


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.


    • Edited by clayman2 Friday, August 17, 2012 5:56 PM
    • Marked As Answer by Scott26 Friday, August 17, 2012 9:43 PM
    •