Command line to Enable / Disable a LAN connection ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm looking for a command line (usable in a script) doing the equivalent of
the following action:
-> A right click on the "Local Area Connection" icon and then "Disable".
Consequently the "Local Area Connection" icon becomes grey.

I tried to explore the "netsh" routine, but I didn't find the equivalent.
Do I have to explore in another direction like stopping a service ?

Thanks in advance.
 
Back
Top