- Open Powershell (administrator)
- Copy this command and paste it into powershell and press Enter
Export-DhcpServer -ComputerName “servername.domain.com” -Leases -File “C:\Scripts\DHCPConf.xml” –Verbose
- Copy the file located in the path above to the new server (C:\Scripts)
- Open Powershell (administrator)
- Copy this command and paste it into powershell and press Enter
Import-DhcpServer -Leases –File “C:\Scripts\DHCPConf.xml” -BackupPath “C:\Scripts\DHCPBackup” –Verbose
Backup or Migrate DHCP on Windows Server Print
Created by: Aaron Allien
Modified on: Fri, Jul 28, 2023 at 10:40 AM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.