Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

asked on

create a script to read a txt file of server name ONLY and remove DNS entries.

I posted a question about creating a script to read a txt file that contains a list of servers, and add/remove their DNS entries in a WIN2K8 DNS server.  

SUBSUN sent a link "http://gallery.technet.microsoft.com/scriptcenter/Update-DNS-records-with-da10910d" which does something similar but it is not what I want after a detail look.  Because his script reads a CSV file that contains server names, record types, and IP addresses.

However, as mentioned in the beginning, my txt file ONLY contains a list of server names.  

server1
server2
server3.......

I need to re-post this question.  Please advise again.

Thanks.
Avatar of Stelian Stan
Stelian Stan
Flag of Canada image

ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nav2567

ASKER

Thanks.