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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top