📜  将 wsl 2 切换为 1 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:13.703000             🧑  作者: Mango

代码示例1
# run following commands in admin-mode PowerShell
dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /norestart
wsl --set-default-version 1