File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,18 @@ if ( $userinput -eq 'y' -or !$userinput ) {
4444 powercfg - attributes SUB_SLEEP 7bc4a2f9- d8fc- 4469 - b07b- 33eb785aaca0 - ATTRIB_HIDE
4545 powercfg - setactive $powerSchemeGuid
4646 powercfg - change - monitor- timeout- ac 0
47-
47+
48+ Write-Output " Make sure that the Ultimate Performance power plan is active."
49+
50+ $i = 3
51+ do {
52+ Write-Host " Opeing Power Options in $i seconds."
53+ Start-Sleep 1
54+ $i --
55+ } while ($i -gt 0 )
56+
57+ control.exe / name Microsoft.PowerOptions
58+
4859 } else {
4960 Write-Host " Power scheme '$powerSchemeName ' already exists."
5061 }
@@ -60,5 +71,7 @@ if ( $userinput -eq 'y' -or !$userinput ) {
6071 $Services.service.name [$i ] | Set-Service - StartupType $Services.service.StartupType [$i ] | Out-Null
6172 }
6273
63- Write-Output " If you see any errors stating that the service doesn't exist don't worry nothing is wrong."
74+ Write-Output "
75+
76+ If you see any errors stating Service wasn't found or Access is denied, don't worry, nothing is wrong."
6477}
You can’t perform that action at this time.
0 commit comments