The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

Migrate DHCP from WS 2012 to WS 2012 R2

Posted by Mikael Nystrom on October 17, 2013

If you work as a consultant and charge by the hour, this is not something that will make you very rich…

Step-By-Step

Start an elevated PowerShell prompt

  • Execute the following command to save configuration and leases to a file
  • Export-DhcpServer -File C:\DHCPMigdata\DHCPdata.xml -Leases -Force -ComputerName old.network.local –Verbose
  • Execute the following to import that configuration in the new server
  • Import-DhcpServer -File C:\DHCPMigdata\DHCPdata.xml -BackupPath C:\DHCPMigdata\ -Leases -ScopeOverwrite -Force -ComputerName new.network.local –Verbose

Done

/mike

One Response to “Migrate DHCP from WS 2012 to WS 2012 R2”

  1. Hah! I’ll try to procrastinate a bit Mike :p

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

 
Follow

Get every new post delivered to your Inbox.

Join 3,955 other followers

%d bloggers like this: