Export DHCP Config Posted by alambert on October 11, 2019 Posted in: DHCP, Powershell, Uncategorized, Windows. Tagged: DHCP, powershell. Export-DhcpServer -ComputerName "oldDhcp.contoso.com" -Leases -File "C:\DHCP\OldDHCPConf.xml" –Verbose