refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / wsl1 / install.ps1
1 #!/usr/bin/env pwsh
2
3 echo "Installing WSL (Windows Subsystem for Linux) ..."
4 echo ""
5 echo "Security: requires administrator approval to install"
6
7 powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c cd /d %CD% && dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all'"
8 # /norestart
9
10 echo "!!!!!!!!!!!!!!!!!!!!!!!!!"
11 echo "!!!  Reboot REQUIRED  !!!"
12 echo "!!!!!!!!!!!!!!!!!!!!!!!!!"
13 echo ""