Export DHCP scopes via command

Reading Time: < 1 minute

1) netsh dhcp server <ipaddress> export all c:\dhcp-export.txt
2) Copy file dhcp-export.txt to destination server disk C

Run the below command if you wish to import into new DHCP server

3) netsh dhcp server import all c:\dhcp-export.txt

The scopes will be activated by default, as soon as you import. Disable them if required.

Don’t forget to configure switch if you have an IP helper

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.