Update Script.ps1

This commit is contained in:
cdnutter committed 2023-11-01 18:20:39 -07:00
1 parent 4eab65f15f
commit 56641f75e4
1 file changed
+3 -4
+3 -4
View File
@@ -39,9 +39,8 @@ Start-Process -FilePath $ScreenConnectPath -ArgumentList "/silent" -Wait
# Start-Process powershell.exe -ArgumentList "-NoProfile -Command {irm https://massgrave.dev/get | iex}"
# Start-Process powershell.exe -ArgumentList "-NoProfile -Command {iwr -useb https://christitus.com/win | iex}"
# Disable sleep and enable high performance mode
# Disable sleep and enable high performance mode, enable hibernation, and display black after 30 minutes
powercfg -change -standby-timeout-ac 0
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
# Set display to turn black after 2 hours
powercfg -change -monitor-timeout-ac 120
powercfg /hibernate on
powercfg -change -monitor-timeout-ac 30