Tag Archives: batch script to assign ip dns gateway subnet mask on a windows machine

Simple netsh script to assign Multiple IPs, DNS, Gateway, etc..

Batch script to assign static IP/DNS/Gateway/Subnet mask. Nothing fancy here but there is some syntax difference in adding a second dns “ip set vs ip add” etc. Pasting it here in case i need to reference it at some point....

Posted in Microsoft, Scripting | Tagged , | 1 Comment