Migrate DHCP Reservations with Powershell

In order to Migrate DHCP Reservations with Powershell, you just need one simple line of code. It works also with different OS, for instance I managed to migrate the DHCP Reservations I had on a Microsoft Windows 2008 R2 server over to a Windows Server 2012 R2.

I suggest to run the command from the OS where you’re migrating to, which in theory is going to be the newer version.

The above command will first get (Get-DhcpServerv4Reservation) the current reservations on SRV01 for the Scope ID, then, it’ll add each reservation (Add-DhcpServerv4Reservation) to the server called NEWSRV02 for the Scope ID
Migrating DHCP reservations with powershell will make migrations a bit less painful 🙂 .

2 thoughts on “Migrate DHCP Reservations with Powershell

Leave a Reply

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