

If this parameter is not specified and the scope being imported exists on the destination DHCP server service, a warning message is displayed and the import proceeds to process the next scope being imported.

If you specify the ScopeOverWrite parameter and the scope being imported exists on the destination server, the scope on the target DHCP server service is overwritten. If you specify the Leases parameter, the lease data in the specified file is imported in addition to configuration data. If you specify neither the ScopeId nor the Prefix parameter, all of the configurations that is contained in the file, and optionally any lease data, is imported.

If you specify either the ScopeId or the Prefix parameter, or both, only the specified scopes or prefixes are imported. The Import-DhcpServer cmdlet imports the Dynamic Host Configuration Protocol (DHCP) server service configuration, and optionally lease data, from the specified file. In this article Syntax Import-Dhcp Server Imports the Dynamic Host Configuration Protocol (DHCP) server service configuration, and optionally lease data, from a file.
