關閉網路卡
wmic path win32_networkadapter where NetConnectionID="區域連線" call disable
wmic path win32_networkadapter where NetConnectionID="Local Area Connection" call disable
netsh interface set interface "區域連線" DISABLED
netsh interface set interface "Local Area Connection" DISABLED
開啟網路卡
wmic path win32_networkadapter where NetConnectionID="區域連線" call enable
wmic path win32_networkadapter where NetConnectionID="Local Area Connection" call enable
netsh interface set interface "區域連線" ENABLED
netsh interface set interface "Local Area Connection" ENABLED
文章標籤
全站熱搜
留言列表