Windows AD DNS Export: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "To export an Activie Directory integrated zone. <pre> Export-DnsServerZone -Name "domainname.com" -FileName "domainname.com.txt" </pre> or <pre> dnscmd /zoneexport domainname.com domainname.com.txt </pre> To ensure you don't receive a permission denied error change folders to C:\windows\system32\dns. If you are located in any other folder when the command is executed the exported file is save to the folder: <pre> c:\windows\system32\dns </pre> Category : Windows ")
 
(No difference)

Latest revision as of 00:24, 3 June 2023

To export an Activie Directory integrated zone.

 Export-DnsServerZone -Name "domainname.com" -FileName "domainname.com.txt" 

or

 dnscmd /zoneexport domainname.com domainname.com.txt 

To ensure you don't receive a permission denied error change folders to C:\windows\system32\dns. If you are located in any other folder when the command is executed the exported file is save to the folder:

 c:\windows\system32\dns