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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Script or utility to export/import AD subnets? 5
Create a subnet 2
Static IP on a printer fails 6
Subnet question 16
Subnetting 2
Defining Subnets in AD Sites and Services 1
VPN and .192 subnet mask 2
Subnet issue 1

Back
Top