Windows DNS Settings Scripting

Where would we be without “t’internet”, even more lonely, that’s where! Thusly it is often useful to be able to manipulate your systems IP settings directly. Below are the building blocks for batch files which you can use to, for instance, switch between multiple “IP setups” instantly (i.e. “work”, “home” & “mobile” setups, for instance).