Need a script to disable or enable based off wireless connection being used.



I just took at looking at MS scripting site and didn't see what I wanted.

This is what I need to at it's most basic level.

If a laptop is connected to WAPA run the DNS client service.
If not don't.

Or
If connected to the domain have the DNS client service run.
If not Don't.

Then to have it implimented via a GPO.

I'm not a programer or a scripter. can someone help.

--
Thank you,

TC

Please reply to the newsgroup so we can all learn from others.
The obvious fake address is not meant to offend.
Rather it is for protection. I have been using Usenet for appox. 15 year and
have had some undesirable outcomes.
Please post all replies to the News Group.
Thank you.


.