netsh是windows自带的网络设置管理工具,不用额外的安装 查询当前网络连接的信息 netsh interface show interface 显示路由信息 netsh interface ip show route 禁用网络适配器 netsh interface set interface name="${接口名称}" admin=disabled 启用网络适配器 netsh interface set interface name=