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