Files
runner-images-temp/images/win/scripts/Installers/Validate-WSL.ps1
T
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 <[email protected]>
2020-07-09 09:57:02 +03:00

15 lines
345 B
PowerShell

################################################################################
## File: Validate-WSL.ps1
## Desc: Validate WSL CLI existst
################################################################################
if (Get-Command -Name 'wsl')
{
Write-Host 'wsl is on path'
}
else
{
Write-Host 'wsl not on path'
exit 1
}