11 lines
970 B
PowerShell
11 lines
970 B
PowerShell
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'
|