• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2885
  • Last Modified:

Exporting DNS records via PowerShell

I want to Export DNS zones via Powershell to a excel sheet.

Does anyone know how to do this.
I am really new to powershell.

I will need timestamps with this, etc..

thanks
0
techgenious
Asked:
techgenious
  • 2
  • 2
1 Solution
 
Neil RussellTechnical Development LeadCommented:
Read here, everything you want to know about AD, DNS and powershell
http://www.indented.co.uk/index.php/2008/12/30/administering-microsoft-dns-in-powershell/
0
 
techgeniousAuthor Commented:
thanks a little too complicated for me.
I'm a big time beginner concerning powershell.
0
 
Leon FesterIT Project Change ManagerCommented:
I don't have a powershell command, but you can do it directly from the DNS console.
Just right-click the zone, and select Export List.
0
 
techgeniousAuthor Commented:
Does that give me time stamps etc?
0
 
Leon FesterIT Project Change ManagerCommented:
It did when I last ran the export.
I think in Windows XP it didn't export the timestamps unless you went and enabled the advanced view.

Click view, click advanced.

If it's a static record then it'll say static,  otherwise the timestamp should be displayed.
Both will be in the same column.

Why don't you try it, it won't break anything.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now