Solved

Exporting DNS records via PowerShell

Posted on 2012-03-15
5
2,731 Views
Last Modified: 2012-08-13
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
Comment
Question by:techgenious
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37727005
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
 

Author Comment

by:techgenious
ID: 37727151
thanks a little too complicated for me.
I'm a big time beginner concerning powershell.
0
 
LVL 26

Expert Comment

by:Leon Fester
ID: 37728724
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
 

Author Comment

by:techgenious
ID: 37729097
Does that give me time stamps etc?
0
 
LVL 26

Accepted Solution

by:
Leon Fester earned 175 total points
ID: 37729247
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question