How to change multiple PC's gateways in one shot, possible a script of some sort
Posted on 2006-05-15
I currently have a script that will change a computers gateway by double clicking on the batch file that I created. Very simple batch file script, i have pasted it below.
netsh interface ip set address name="Local Area Connection" gateway=192.168.0.1 gwmetric=0
We have several gateways in our network, for various reasons. But, I would like to change 10 computers gateways at one shot. Is there any guru out there that can help we. Even If you have changed just two or more PC's gateway by simplfying for users. Your help will be gratiously appreciated. Also, if there is anyway possible for this to happen, where a group policy, preferably a script, or some command. Please let me know.