Reboot Linux under WSL
Linux systemcmd or init way of rebooting will not work in a Windows Subsystem for Linux or wsl-run Linux. You need to use the Powershell command below:
1wsl --shutdown
For other methods, see this article.
Linux systemcmd or init way of rebooting will not work in a Windows Subsystem for Linux or wsl-run Linux. You need to use the Powershell command below:
1wsl --shutdown
For other methods, see this article.