Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

distros

https://docs.microsoft.com/en-us/windows/wsl/install-manual#downloading-distros

Run Specific Distro

wsl --distribution <Distribution Name> --user <User Name>

Set Default Distro

wsl --set-default <Distribution Name>

List Easy Known WSLs

PS C:\Users\User> wsl --list --online
The following is a list of valid distributions that can be installed.
Install using 'wsl --install -d <Distro>'.

NAME            FRIENDLY NAME
Ubuntu          Ubuntu
Debian          Debian GNU/Linux
kali-linux      Kali Linux Rolling
openSUSE-42     openSUSE Leap 42
SLES-12         SUSE Linux Enterprise Server v12
Ubuntu-16.04    Ubuntu 16.04 LTS
Ubuntu-18.04    Ubuntu 18.04 LTS
Ubuntu-20.04    Ubuntu 20.04 LTS

Powershell Get

Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing

Real Curl

curl.exe -L -o ubuntu-2004.appx https://aka.ms/wslubuntu2004

Add the Package

Add-AppxPackage .\app_name.appx