DHCP Reservations

During the build of a new Domain Controller that has DHCP enabled I was wondering how I can get the DHCP reservations off the old server to the new server.  I stumbled upon this set of commands that saved my life.

On the existing (old) server:

netsh dhcp server export C:\dhcp.txt all

Copy the txt file to the new server, and run this command.

On the new server:

netsh dhcp server import C:\dhcp.txt

Seems to work great, and saved me a ton of time.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s