wsl -d {name} -u {username} //load machine, optional(log in as user)wsl --list --vwsl --terminate {name} || wsl --shutdown //kernel stop commandswsl --set-default {name} //changes default distrowsl --unregister {name}wsl --export {name} {name}.tar //save(second name can be whatever)wsl --import {MachineName} {storage dir(D:\wsl)} {exported file dir}
Linux
cd /mnt/c //changes dirctory to the windows storagexxx.exe //windows commands in linux//kali-linuxkex //runs gui, if installed - f8 to minimisekex --win --stop //stops gui