📜  全局保护阻塞 wsl - Shell-Bash 代码示例

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

代码示例1
Get-NetIPInterface -InterfaceAlias "vEthernet (WSL)" | Set-NetIPInterface -InterfaceMetric 1
Get-NetAdapter | Where-Object {$_.InterfaceDescription -Match "PANGP Virtual Ethernet Adapter #2"} | Set-NetIPInterface -InterfaceMetric 6000