My organization recently decided that we need to disable all wireless NICs across the boardin order to avoid securityissues.
I've put together a script that finds all wireless connections, and calls on the Win32_NetworkAdapter Enable/Disable methods todisable them.
I've currently got the script working on disabling any wired NIC that I want to target,but not the Wireless. My test system is using an Intel PRO/Wireless 3945 ABG nic in a Dell Precision M90. I have updated to the current driver, 12.0.0.something.
The part that is driving me nuts, is that the Enable() method works great, but the Disable() method is not disabling the NIC. Does the method only work if it's actually connected to a network or something?