Does anyone have a script to shut down a wireless interface on a PC? I'm trying to set an alert to run an NCM function in case I catch a wireless and wired connection on the same PC.
Thanks,
Erik
Have you tried netsh?
netsh interface show interfacenetsh interface set interface name="Local Area Connection" admin=DISABLED