reboot linux wsl2 code example Example 1: restart wsl2 wsl --shutdown wsl Example 2: restart wsl2 windows 10 Get-Service LxssManager | Restart-Service