how to restart WSL2.0 code example Example 1: restart wsl2 wsl --shutdown wsl Example 2: restart wsl2 windows 10 Get-Service LxssManager | Restart-Service