From 20cf3617bcb7fb52f8295b625c8ad64f4a56d575 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 9 Aug 2024 17:41:23 +0100 Subject: [PATCH] Don't print skipping in bootstrap-Windows.ps1 --- bootstrap-Windows.ps1 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bootstrap-Windows.ps1 b/bootstrap-Windows.ps1 index a6c5325..27cfe8c 100644 --- a/bootstrap-Windows.ps1 +++ b/bootstrap-Windows.ps1 @@ -31,24 +31,18 @@ if (-Not $IsElevated) { Invoke-WebRequest -Uri "https://downloads.1password.com/win/1PasswordSetup-latest.exe" -OutFile "$1passwordInstaller" &$1passwordInstaller Remove-Item $1passwordInstaller - } else { - echo 'Skipping 1Password' } # Enable Hyper-V $Decision = $Host.UI.PromptForChoice('Enable Hyper-V', 'Proceed?', $Choices, 0) if ($Decision -eq 0) { Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All - } else { - echo 'Skipping Hyper-V' } # Enable Containters $Decision = $Host.UI.PromptForChoice('Enable Containers', 'Proceed?', $Choices, 0) if ($Decision -eq 0) { Enable-WindowsOptionalFeature -Online -FeatureName Containers -All - } else { - echo 'Skipping Containers' } # Install Chocolatey @@ -61,8 +55,6 @@ if (-Not $IsElevated) { choco install --yes "--package-parameters=/SSHServerFeature" openssh Start-Service sshd Set-Service -Name sshd -StartupType 'Automatic' - } else { - echo 'Skipping SSH Server' } Write-Host 'Press any key to continue...'