目 录CONTENT

文章目录

Windows命令行重启网卡

过客
2024-10-23 / 0 评论 / 0 点赞 / 21 阅读 / 0 字

1. 查询计算机上所有的网卡

netsh interface show interface
C:\Users\Administrator>netsh interface show interface

管理员状态     状态           类型             接口名称
-------------------------------------------------------------------------
已启用            已连接            专用               VMware Network Adapter VMnet1
已启用            已连接            专用               VMware Network Adapter VMnet8
已启用            已连接            专用               zngw

2. 操作网卡的指令

2.1 关闭网卡:

netsh interface set interface "要操作的网卡名称" disable

2.2 开启网卡:

netsh interface set interface "要操作的网卡名称" enable

3. 重启zngw网卡

netsh interface set interface "zngw" disable
netsh interface set interface "zngw" enable
0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区