Solved

Exporting DNS records via PowerShell

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

773 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