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
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
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.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?