Use WMI Notification to run script on Network connection / disconnect

markpalinux
markpalinux used Ask the Experts™
on

I have a Windows 7 x64 laptop.  

Want to run a script when my laptop connects to a network and when it disconnects.  Felt like I saw example code before, but unable to find it this morning.

Thanks,
Mark
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial