netsh interface set "interface" DISABLED/ENABLED
For example to disable an interface with its default name "Local Area Connection", run:
netsh interface set interface "Local Area Connection" DISABLED
To enable the interface, you'd then run:
netsh interface set interface "Local Area Connection" ENABLED
©
For example to disable an interface with its default name "Local Area Connection", run:
netsh interface set interface "Local Area Connection" DISABLED
To enable the interface, you'd then run:
netsh interface set interface "Local Area Connection" ENABLED
©