Summary
Notes on installation of latest Powershell and other tools.
Powershell 7
winget install --id Microsoft.Powershell --source winget
WSL
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Enable
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
WSL2
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
WSL2 Kernel
Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel
Open PowerShell as administrator and run:
wsl --set-default-version 2
Distro install (Kali)
https://www.kali.org/docs/wsl/win-kex/
Install Kali Linux from the Microsoft Store Run Kali and finish the initial setup
Install Win-KeX kali@kali:~$ sudo apt update kali@kali:~$ kali@kali:~$ sudo apt install -y kali-win-kex
(optional) Install Everything sudo apt install -y kali-linux-large
Kex start
Seamless
kex --sl -s
Windowed
kex --win -s
Enhanced
kex --esm --ip -s