bat 脚本启用及禁用网卡

数据库74

启用网卡

需要以管理员身份运行bat脚本

netsh interface set interface "Npcap Loopback Adapter" enabled
netsh interface set interface "vEthernet (默认开关)" enabled
netsh interface set interface "VirtualBox Host-Only Network" enabled
netsh interface set interface "VMware Network Adapter VMnet1" enabled
netsh interface set interface "VMware Network Adapter VMnet8" enabled
netsh interface set interface "WLAN" enabled

禁用网卡

需要以管理员身份运行bat脚本

```bat
netsh interface set interface "Npcap Loopback Adapter" disable
netsh interface set interface "vEthernet (默认开关)" disable

输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长