Migrate domain DHCP 2012r2 to 2022 server

Tutek 261 Reputation points
2023-03-07T11:58:55.46+00:00

Hi,

how could I migrade domain dhcp server from 2012r2 to 2022, I use filters and "Allow" folder where I have many MAC Addresses, is there any command that backup and restore all filters, reservations, scopes? Thanks.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
9,443 questions
0 comments No comments
{count} votes

1 answer

Sort by: Oldest
  1. Thameur-BOURBITA 16,586 Reputation points
    2023-03-07T13:13:19.2033333+00:00

    Hi @Tutek

    You can use the command Get-dhcpServerv4Failover and add-dhcpserverv4failover to import all MAC address from DHCP 2012 and add them to DHCP 2022:

    
    
    Get-DhcpServerv4Filter -ComputerName "dhcpserver2012.contoso.com" | Add-DhcpServerv4Filter -ComputerName "dhcpserver.contoso.com" -List Deny
    

    Please don't forget to mark helpful answer as accepted

    0 comments No comments