Migrate DHCP from Windows Server 2012 R2 to Window Server 2016 in Just Two Steps

Karim Buzdar

February 27, 2017

1 Min Read
Migrate DHCP from Windows Server 2012 R2 to Window Server 2016 in Just Two Steps

If you are consultant and working for a company on hourly basis, stop here and try a slightly longer method using GUI ☺

Step-By-Step

 

Open PowerShell with administrative privileges

1. Execute following command on Server 2012 R2 to save data including scope, reservations and leases etc.

Export-DhcpServer -File C:DHCPMigdataDHCPdata.xml -Leases -Force -ComputerName old.network.local.server2012R2 –Verbose

2. Execute following command on Server 2016 to copy an existing data 

Import-DhcpServer -File C:DHCPMigdataDHCPdata.xml -BackupPath C:DHCPMigdata -Leases -ScopeOverwrite -Force -ComputerName new.network.server2016 –Verbose

 

That’s it.

About the Author

Karim Buzdar

https://www.linkedin.com/in/karimbuzdar/

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like