script

  • Thread starter Thread starter help
  • Start date Start date
H

help

Have about 50 computer with a subnet of 255.255.255.192.
Need to change subnet to 255.255.255.0. Does anyone have
a script that will allow this to happen without physically
touching all the computers.
 
Try

netsh
interface
ip
set address (and then what you want)

This command has some odd syntax, but it works. You can put it all in a
batch file. I used this line in part of a batch file to add a WINS server to
1500 computers. 'netsh interface ip add wins "Local Area Connection"
10.1.20.42'

-Matthew
 
Back
Top