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