Solved

Exporting DNS records via PowerShell

Posted on 2012-03-15
5
2,643 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
  • 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

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now