He has 24 LANs statically addressed.

From: Jonathan Link [mailto:[email protected]]
Sent: Thursday, November 29, 2012 2:40 PM
To: NT System Admin Issues
Subject: Re: DNS settings in GPO or logon script

Isn't it better to set this via the DHCP server (assuming one is being used)?

On Thu, Nov 29, 2012 at 2:12 PM, Christopher Bodnar 
<[email protected]<mailto:[email protected]>> wrote:
I would start with something like this in PowerShell.

http://digitaldeviation.com/articles/change-dns-servers-remotely-powershell


I'd modify it to look at the current DNS server config of the adapter and only 
modify it if it's got the old DNS server address. I think that's what you are 
trying to do.

Christopher Bodnar
Enterprise Architect I, Corporate Office of Technology:Enterprise Architecture 
and Engineering Services

Tel 610-807-6459<tel:610-807-6459>
3900 Burgess Place, Bethlehem, PA 18017
[email protected]<mailto:[email protected]>

[cid:[email protected]]

The Guardian Life Insurance Company of America

www.guardianlife.com<http://www.guardianlife.com/>







From:        "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
To:        "NT System Admin Issues" 
<[email protected]<mailto:[email protected]>>
Date:        11/29/2012 01:54 PM
Subject:        DNS settings in GPO or logon script
________________________________




I have active directory server 2008r2 standard.
I want to push DNS primary and secondary.  I can netsh it but not everyone has 
the same adapter settings name?
I have all static addressing on all 24 LAN's.
How am I going to get this done?

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

<<inline: image001.jpg>>

Reply via email to