Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save PSingletary/2bf8209b1c6ef706493470bdcc29f84a to your computer and use it in GitHub Desktop.

Select an option

Save PSingletary/2bf8209b1c6ef706493470bdcc29f84a to your computer and use it in GitHub Desktop.
$URL = 'https://aka.ms/wsl-ubuntu-1804'
$Filename = "$(Split-Path $URL -Leaf).appx"
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri $URL -OutFile $Filename -UseBasicParsing
Invoke-Item $FileName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment