查看接口信息
ipconfig /all
netsh interface show interface
route -4 print
禁用 、開啓某網卡
rem 禁用網卡
netsh interface set interface 以太網 disabled
rem 啓用網卡
netsh interface set interface 以太網 enabled
查看接口信息
ipconfig /all
netsh interface show interface
route -4 print
禁用 、開啓某網卡
rem 禁用網卡
netsh interface set interface 以太網 disabled
rem 啓用網卡
netsh interface set interface 以太網 enabled