File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ if (-Not $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Adm
1919}
2020
2121# Create restore point
22- $userinput = Read-Host - Prompt ' Do you want to have a restore point created? (Y/n)'
22+ $userinput = Read-Host - Prompt ' Do you want to have a restore point created? (Recommended) ( Y/n)'
2323$userinput = $userinput.ToLower ()
2424if ( $userinput -eq ' y' -or ! $userinput ) {
2525 Checkpoint-Computer - Description " Pre-Optimizations" - RestorePointType " MODIFY_SETTINGS"
2626 Write-Output " If anything happens that you don't want then you can go back to this restore point."
2727}
2828
2929# Checks if Ultimate Performance plan exists and if it doesn't it adds it
30- $userinput = Read-Host - Prompt ' Do you want to add Ultimate Performance power plan? (Y/n)'
30+ $userinput = Read-Host - Prompt ' Do you want to add Ultimate Performance power plan? (Recommended) ( Y/n)'
3131if ( $userinput -eq ' y' -or ! $userinput ) {
3232 # From ChrisTitusTech/winutil
3333 $powerSchemeName = " Ultimate Performance"
@@ -62,7 +62,7 @@ if ( $userinput -eq 'y' -or !$userinput ) {
6262}
6363
6464# Set some services to manual
65- $userinput = Read-Host - Prompt ' Do you want to optimize services? (Y/n)'
65+ $userinput = Read-Host - Prompt ' Do you want to optimize services? (Recommended) ( Y/n)'
6666if ( $userinput -eq ' y' -or ! $userinput ) {
6767
6868 $Services = Get-Content .\Config\services.json | ConvertFrom-Json
You can’t perform that action at this time.
0 commit comments