Merge pull request #227 from azulskyknight/patch-1

Create ResetHighPerformancePowerProfiletoDefaults.ps1
This commit is contained in:
Tragic Bronson 2021-01-04 13:42:10 -08:00 committed by GitHub
commit bf03c89cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -monitor-timeout-ac 15'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -disk-timeout-ac 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -standby-timeout-ac 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -hibernate-timeout-ac 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -monitor-timeout-dc 10'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -disk-timeout-dc 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -standby-timeout-dc 20'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-x -hibernate-timeout-dc 0'
Start-Process -FilePath 'powercfg.exe' -ArgumentList '-setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1'