vbscript - Using WMI to Determine which adapter(s) is connected to the internet -


"itemprop =" text ">

I am writing a VB script to determine which adapter uses WMI for Internet connectivity ? For example - if I have a LAN and a 3G board then there is a need to tell the user who is connected. I understand that there may be a machine> 1 internet connection, but for now, let's assume 1

Edit :. Okay, how can I use any command tool? Looking at the thunder silence, I think it is not able to use WMI. :-) Will print trace work? I am not even familiar with trace.

Thanks in advance for any help! Rich

Win32_NetworkAdapterConfiguration is the network device using


Comments