Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exporting DNS records via PowerShell

Posted on 2012-03-15
5
Medium Priority
?
2,837 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 700 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

Problems using Powershell and Active Directory?

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

877 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