xxxxxxxxxx
# Substitute the drive on which you
# want WSL to be installed if not D:
Set-Location D:
# Create a directory for WSL and change to it:
New-Item WSL -Type Directory
Set-Location .\WSL
# Using the URL you found above, download the appx package:
Invoke-WebRequest -Uri <appx_package_url> -OutFile Linux.appx -UseBasicParsing
# Make a backup and unpack:
Copy-Item .\Linux.appx .\Linux.zip
Expand-Archive .\Linux.zip
# Find the installer:
Get-Childitem -Filter *.exe