Powershell

cheatsheet: https://www.zerrouki.com/the-ps-cheatsheets/

https://docs.microsoft.com/en-us/windows/wsl/install-win10 https://docs.microsoft.com/en-us/windows/wsl/interop

run in Powershell as admin

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart -verb RunAs

enable VM’s

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Set wsl version

wsl

wsl --set-default-version 2

Install distro

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

Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile Debian.appx -UseBasicParsing cd ~/Downloads Add-AppxPackage .\Debian.appx

Setup new user and password

https://docs.microsoft.com/en-us/windows/wsl/user-support

Update Shell Override in Platformio

Download/Install Apps

https://docs.microsoft.com/en-us/windows/package-manager/

winget https://github.com/microsoft/winget-cli/releases

Core Universal OS Apps (Win/Linux/Mac)

ShareX GIMP VS Code Atom Firefox Chrome Github Google cloud Google Drive InkScape

Google Cloud SDK

(New-Object Net.WebClient).DownloadFile("https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe", "$env:Temp\GoogleCloudSDKInstaller.exe")

& $env:Temp\GoogleCloudSDKInstaller.exe