script to add/remove DNS entries.

Hello,

I need help to create a script to read a txt file that contains a list of servers, and add/remove them from DNS.  Our DC is running on WIN2K8.

Please advise.

Thanks.
nav2567Asked:
Who is Participating?
 
Prashant GirennavarConnect With a Mentor Commented:
I have a powershell script which adds both Host Record and PTR Record to your DNS

http://prashant1987.wordpress.com/2012/11/16/powershell-script-to-add-a-record-ptr-record-in-dns/


Hope this link helps ,

-Prashant Girennavar.
0
 
SubsunConnect With a Mentor Commented:
Did you Check this script from TechNet scriptcenter?
http://gallery.technet.microsoft.com/scriptcenter/Update-DNS-records-with-da10910d
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.