There was a time when I worked for my ex. employer, as an IT specialist, and like most 'enterprises at large' they used Windows clients with only one NIC, our team had to switch between three different network configurations all day long, to do the job.
It was annoying, that we had to change IP addresses again and again, it was really awkward. Then I decided to automate the process and put my hands on newly discovered scripting language AutoIt, so I started to code, and it worked flawlessly (well almost), it became so popular among peers that I decided to release it as freeware, so I compiled the jigs and put that on Download dot com.
After (almost) a decade while looking back at the projects, which I have done, I almost rediscovered that piece of code and decided to make it open source. So, I have uploaded all the source code on GitHub, you can get all the source code under the terms of GNU GPL from repository here. You are free to use, modify, share and even improve it.
Shehroz