I have a list of DHCP reservations, Server 2003.
I want to export (in all it is) a list of IP, MAC address.
I need the list for view: sorting\store in of DB for later Query, not for importing later. and therefore this command:
netsh dhcp server export c:\1.txt all
Not good for me, because I can not read the file (I'm only human …), there is another way to export or easy way to read this file?
(I do not care to write code to parse file but I could not understand how it is written).
Best Answer
How do I export DCHP reservation in a readable form?
You can use the
dump
option ofnetsh
to "export" the data as plain text.Use the following command
Note:
Source Use DHCP commands interactively at the command prompt
Create a readable DHCP export
Source Exporting a (readable) DHCP scope