Solved

How to Export the windows 2008 DHCP data to a CSV file .

Posted on 2013-06-06
4
7,316 Views
Last Modified: 2013-06-24
Hi

We use windows 2008 as our DC. We have done lot of IP reservation on our DHCP Server.
Is there a way to export the DHCP data to a CSV file .

Thanks
0
Comment
Question by:lianne143
[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
4 Comments
 
LVL 13

Assisted Solution

by:rhinoceros
rhinoceros earned 75 total points
ID: 39228108
0
 
LVL 10

Accepted Solution

by:
Satish Auti earned 75 total points
ID: 39228113
dnscmd /enumrecords zonename @ /Type A /additional > c:\filename.csv

additional – Includes all additional information about the records listed.
0
 
LVL 5

Assisted Solution

by:MisterTwelve
MisterTwelve earned 75 total points
ID: 39228567
The best option is NETSH command.

http://technet.microsoft.com/en-gb/library/cc787375(v=ws.10).aspx#BKMK_dump

dump
Dumps the configuration of the local DHCP server to the command prompt window when run within the netsh environment.
Syntax
dump
When run at the command prompt or in a batch file, output can be saved in a text file. Used without parameters, this command dumps the configuration of the local server to the command prompt window.
Syntax
netsh dhcp server [ IPAddress ] dump >[PathAndFileName]
0
 
LVL 2

Assisted Solution

by:babuse
babuse earned 75 total points
ID: 39228843
Here is a script that would probably do the trick for ya.

Export DHCP scopes and their address pools to a csv file...
http://theadminguy.com/2010/04/15/export-dhcp-scopes-and-their-address-pools-to-a-csv-file/

------------------Sorry.  After posting this. I noticed someone had already made this suggestion
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
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…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

726 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