Files
runner-images/images/win/scripts/Installers/Windows2019/Install-WSL.ps1
Sergey Dolin c6950533af Add WSL (#1081)
* Add WSL

* Move WSL to the end of the provision

* Add elevated_user

* No restart VM

* Add Validation

* Add WSL note in Readme.md

* Rename WSL1 to WSL

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-07-09 09:57:02 +03:00

8 lines
382 B
PowerShell

################################################################################
## File: Install-WSL.ps1
## Desc: Install Windows Subsystem for Linux
################################################################################
Write-Host "Install Windows Subsystem for Linux"
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -NoRestart