Example 1.
Show all network connections: netsh interface show interface
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/24/8D/wKiom1NSPo6ig4TSAAC80aSDAbQ020.jpg "title=" 2014-04-19_171037.jpg "alt=" Wkiom1nspo6ig4tsaac80asdabq020.jpg "/>
Example 2.
Disable local connection (' Ethernet ' in Win8): netsh interface set interface name= "Ethernet" admin=disable
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/24/8D/wKioL1NSQFrR0OsnAABRRMhvZhw266.jpg "title=" 2014-04-19_171535.jpg "alt=" Wkiol1nsqfrr0osnaabrrmhvzhw266.jpg "/>
Example 3.
Enable local Area Connection: netsh interface set interface name= "Ethernet" admin=enable
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/24/8D/wKioL1NSQL_AlISkAABbwCtjj2M217.jpg "title=" 2014-04-19_172127.jpg "alt=" Wkiol1nsql_aliskaabbwctjj2m217.jpg "/>
This article is from the "Tianma 3798" blog, please be sure to keep this source http://tianma3798.blog.51cto.com/3007955/1651265
netsh disable/enable local Area Connection