From 9f1484bbef9fe53aecba55c6019930ae9c34f38b Mon Sep 17 00:00:00 2001 From: azulskyknight <45128329+azulskyknight@users.noreply.github.com> Date: Mon, 4 Jan 2021 13:21:00 -0700 Subject: [PATCH] Create SetHighPerformancePowerProfile.ps1 Script sets the High Performance Power profile to the active power profile. Use this to keep machines from falling asleep. --- scripts/SetHighPerformancePowerProfile.ps1 | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/SetHighPerformancePowerProfile.ps1 diff --git a/scripts/SetHighPerformancePowerProfile.ps1 b/scripts/SetHighPerformancePowerProfile.ps1 new file mode 100644 index 00000000..20d6bc81 --- /dev/null +++ b/scripts/SetHighPerformancePowerProfile.ps1 @@ -0,0 +1 @@ +Start-Process -FilePath 'powercfg.exe' -ArgumentList '/setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c'