* Pulled WebSocket fixes into main except for WebSockets functionality Co-authored-by: Rick Winter <rick.winter@microsoft.com> Co-authored-by: Daniel Jurek <djurek@microsoft.com> Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com> Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com> Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com> Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
15 lines
360 B
PowerShell
15 lines
360 B
PowerShell
write-host "WSL install of ubuntu."
|
|
wsl --install -d Ubuntu-20.04
|
|
|
|
write-host "Launch WSL."
|
|
[console]::OutputEncoding = New-Object System.Text.UnicodeEncoding
|
|
$wsl = wsl -l -v | out-string
|
|
|
|
write-host $wsl
|
|
while ($wsl -notmatch 'Ubuntu-20.04.*running') {
|
|
start-sleep -seconds 1
|
|
$wsl = wsl -l -v | out-string
|
|
write-host $wsl
|
|
}
|
|
write-host "Ubuntu installed."
|