Code snippets : CMD : Dump Windows Server DHCP configuration
If you need to capture configuration of Windows-based DHCP server for documentation or review purposes, this might be handy:
netsh -r lab-dc-01 dhcp server dump > C:\dhcp-lab-dc-01.txt
NOTE: lab-dc-01 in example command is name of the Windows server which has DHCP installed.
Example DHCP server dump from Windows Server 2008 R2 you can see here. It contains one scope for subnet 172.16.90.0/24, option for DNS and default gateway defined.