Add IP in window server by script

(1) Prepare a list of IP that you want to add

(2) Create a batch file (.bat file ) inserting with following code to automatically pump in IP aliases. Add in line by line if many IP

netsh int ip add address “Primary LAN” IP

(3) Execute in command prompt.

Reference: Mr David Ch’ng

Leave a Reply

Your email address will not be published. Required fields are marked *