Windows DHCP Server XML import file import Issue for multiple Scopes
In our estate we have build two windows 2022 server under existing internal domain and install DHCP role in both of these boxes. Post that, we have configured DHCP failover using these two servers. We have prepared XML file of total 7 scopes for testing the import, but unfortunately while using PowerShell for importing the scopes it can only able to import first 4 scopes and post that it is not importing the rest of the scopes and command is not throwing any errors/warnings as well. Any advise or help would be highly appreciable. Thank you in advance.
Powershell Command:
Import-DhcpServer -ComputerName "Server.xx.net" -File "C:\Users\ghos\Desktop\xml_24-10-2024\helper\Testoption.xml" -BackupPath "C:\dhcpbackup" -verbose
Output:
VERBOSE: Dhcp Server database has been backed up at C:\dhcpbackup\ on Server.xx.net.
VERBOSE: Importing configuration on server Server.xx.net from file
C:\Users\ghos\Desktop\xml_24-10-2024\helper\Testoption.xml.
VERBOSE: Importing classes on server...
VERBOSE: Deleting server wide policies...
VERBOSE: Deleting server wide option values...
VERBOSE: Deleting link layer filters...
VERBOSE: Importing link layer filters...
VERBOSE: Importing scope X.X.X.X on server Server.xx.net...
VERBOSE: Importing exclusion ranges to scope X.X.X.X...
VERBOSE: Importing option values for scope X.X.X.X...
VERBOSE: Importing reservations to scope X.X.X.X. This operation may take some time.
VERBOSE: Importing scope X.X.X.Y on server Server.xx.net...
VERBOSE: Importing exclusion ranges to scope X.X.X.Y...
VERBOSE: Importing option values for scope X.X.X.Y...
VERBOSE: Importing reservations to scope X.X.X.Y. This operation may take some time.
VERBOSE: Importing scope X.X.Y.Y on server Server.xx.net...
VERBOSE: Importing exclusion ranges to scope X.X.Y.Y...
VERBOSE: Importing option values for scope X.X.Y.Y...
VERBOSE: Importing reservations to scope X.X.Y.Y. This operation may take some time.
VERBOSE: Importing scope X.Y.Y.Y on server Server.xx.net...
VERBOSE: Importing exclusion ranges to scope X.Y.Y.Y...
VERBOSE: Importing option values for scope X.Y.Y.Y...
VERBOSE: Importing reservations to scope X.Y.Y.Y. This operation may take some time.
VERBOSE: Import operation on server Server.xx.net completed.
PS C:\Windows\system32>