Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Script Change primary and secondary DNS

Status
Not open for further replies.

kippy13

IS-IT--Management
Aug 19, 2002
1,213
0
0
IE
Hi all,
Okay, there's a lot of stuff on this forum on VB script and some that comes close to what I want to do.
Am using static IP's (soon to be DHCP, but static for the moment).
We've changed the DNS servers and I'd like to create a GPO that uses a vb script to change the staticilly assigned DNS servers which will run at PC startup.
There is only on NIC on the machines I will be targeting.
Anyone point me at a script that will do the job. All other IP settings need to remain the same.
Thanks,
Kippy
 
Sorry guys, Just going to bump this one.

Going to DHCP would probably be an easier option.
 
thread329-1551015

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top