change name server in a DNS zone via powershel (server 2008)


does anybody know if there is a way to change the Name Servers and the Zone Transfer Servers on a zone via Powershell?
Otherwise I have to do +/- 200 manually
Filip HeensAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HutchisonSenior Network Systems SpecialistCommented:
You can use the DNSCMD.exe tool to modify records on on Domain Name servers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Filip HeensAuthor Commented:
Already found that and could do a zoneresetsecondaries. ;-)
But When I try to do a ZoneResetMasters I'm getting error 9611

dnscmd . /ZoneResetMasters FQDN. xx.xx.xx.xx

Error failed reset of master servers for zone FQDN
    Status = 9611
Command failed:  DNS_ERROR_INVALID_ZONE_TYPE     9611    0x258B
Peter HutchisonSenior Network Systems SpecialistCommented:
The error is because it is AD integrated, try the command with /dsdel option:
dnscmd . /ZoneResetMasters FQDN. xx.xx.xx.xx /dsdel
Filip HeensAuthor Commented:
in the mean time I've upgraded the server to W2012 R2.
And it worked after running the command in admin mode ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.