Hi,
I want to migrate my DHCP server from 2008 R2 to 2012 R2 server.I exported dhcp configuration by issuing export-dhcpserver command on 2012 R2 server.
And now, when I try to import xml into new server I see error during import:
VERBOSE: Importing option definitions on server...
Import-DhcpServer : Failed to add option definition 249 on DHCP server server.lbank.msft. : The specified option
already exists. (20009)
At line:1 char:1
+ Import-DhcpServer -ComputerName server.lbank.msft -File D:\Darbinis\dhcp\dhc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceExists: (249:root/Microsoft/...ptionDefinition) [Import-DhcpServer], CimExceptio
n
+ FullyQualifiedErrorId : DHCP 20009,Import-DhcpServer
How to troubleshoot such error? Thanks.