Share via


how to export all dhcp scopes in csv file

Question

Sunday, August 6, 2017 2:45 PM

Hi,

can i export all DHCP scope in Excel or cvs file. it's in 2008 Srv  R2.

All replies (3)

Monday, August 7, 2017 2:57 AM

Hi Saby_Bose,

You could use the following command to export the scope configuration:

Syntax:

C:\netsh dhcp server \”Server name” scope “scope subnet” dump>c:\dhcp.txt

Example:

C:\netsh dhcp server \Test01 scope 192.168.1.0 dump>c:\dhcp.txt

For more details, you could refer to the following link:

Using Netsh to export and import DHCP reservations

http://www.mpking.com/2013/08/using-netsh-to-export-and-import-dhcp.html

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice.

Microsoft does not guarantee the accuracy of this information.

Best Regards,

Candy

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, August 11, 2017 8:19 AM

Hi Saby_Bose,

Just checking in to see if the information provided was helpful.

Please let us know if you would like further assistance.

Best Regards,

Candy

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, August 15, 2017 8:49 AM

Hi Saby_Bose

Was your issue resolved?

If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

If no, please reply and tell us the current situation in order to provide further help.

Best Regards,

Candy

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].