Share this post

Link to post

Share on other sites

/dev/null 0

I am iterating through the Win32_NetworkAdapterConfiguration WMI objects to check the network adapters. I can't find a way to determine if the adapater is a WiFi adapter.

Do I have to iterate through a different set of objects?

I also want to be able to directly launch the properties dialog box of a specific adapter.

I don't want to go through the network connections window.

Use scriptomatic (search forum) to generate the appropriate WMI scripts for AutoIT.

You need this:

\root\WMI MSNdis_80211_Configuration.

This will give you the name (InstanceName) of the WLAN adapters in your system. Use

This name to find the corresponding network adapter configuration with this:

\root\CIMV2 Win32_NetworkAdapter

Compare the previous InstanceName with the Caption to find the WLAN adapter.

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *