Change WINS & DNS IP addresses

I need a script to change the current WINS & DNS IP addresses with some restrictions.  
If a particular IP address exists then do not change it otherwise change to new address.
Also, the primary and secondary have to be specified in certain order per request.  
I've scripted NETSH but can't get it to do all the above?  Please help thank you  
Lou PereiraAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0
 
Brian PiercePhotographerCommented:
You meam the DNS and WINS servers used by clients - not the contents of DNS and WINS i presume. Why not do this with DHCP options - its much easier to manage that way.


0
 
Lou PereiraAuthor Commented:
This is to change member servers
0
 
Lou PereiraAuthor Commented:
I was able to solve the isuue with my own research, therfore I don't feel credit should be give to anyone on this thread.  Thank you
Solution:  Create a script using Netsh commands and VBScript calls. If anyone needds the script email me.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.