How do I create a script that checks if a computer is connected via wireless or ethernet?

Posted by user4941 on Super User See other posts from Super User or by user4941
Published on 2012-06-05T22:18:05Z Indexed on 2012/06/05 22:42 UTC
Read the original article Hit count: 218

Filed under:
|

I am using log-me-in Central to look after a few dozen computers. These computers are used both for home use and work use. When the computers are used for work, they should not be connected via wireless.

In the best case, I'd like to be able to use LogMeIn to prevents users on shift from connecting wirelessly.

Still acceptable would be to have the computer email me if it connects wirelessly.

If I knew how to set up a script that checks to see if the computer connected wirelessly and I could send an email, then I would be set.

© Super User or respective owner

Related posts about wireless-networking

Related posts about script