title: Enable/disable network connection from command line
body: <p>I know that there exists ton of results in Google for this: <a href="https://www.google.com.tr/?q=netsh%20interface%20set%20interface%20disabled#q=netsh%20interface%20set%20interface%20disabled" rel="noreferrer">results</a>, but I didn't make it in my Windows XP machine. I want to disable LAN connection from command line.</p>
  
  <pre><code>&gt;netsh interface set interface "Local Area Connection" DISABLED
  One or more essential parameters not specified
  The syntax supplied for this command is not valid. Check help for the correct sy
  ntax.
  
  &gt;netsh interface set interface name="Local Area Connection" admin="disabled"
  One or more essential parameters not specified
  The syntax supplied for this command is not valid. Check help for the correct sy
  ntax.
  
  &gt;netsh interface set interface name="Local Area Connection" admin=DISABLED
  One or more essential parameters not specified
  The syntax supplied for this command is not valid. Check help for the correct sy
  ntax.
  </code></pre>