Disable wireless connection when LAN is connected

This is a very simple script to enable or disable wirless connection depending on the LAN connection status. I use the enable and disable verbs of "Network connection" object. Actually I want to use enable and disable methods of WMI Class Win32_NetworkAdapterConfiguration,but

wireless1.vbs
 
 
 
 
 
(28)
12,243 times
Add to favorites
Networking
1/26/2012
E-mail Twitter del.icio.us Digg Facebook