Link to home
Start Free TrialLog in
Avatar of Filip Heens
Filip HeensFlag for Belgium

asked on

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

Hi,

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
ASKER CERTIFIED SOLUTION
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland 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 Filip Heens

ASKER

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
SOLUTION
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
actually
in the mean time I've upgraded the server to W2012 R2.
And it worked after running the command in admin mode ;-)