Windows/dhcp
Aus SchnallIchNet
export a scope
> Export-DhcpServer -ComputerName SERVERNAME -file C:\Users\USER\Desktop\10.3.14.0-24.xml -ScopeId 10.3.14.0
copy file to 10.3.14.0-23.xml
edit the file to your needs - e.g. change the networkmask
import a scope
1st of all delete the scope in question from the server and:
> Import-DhcpServer -ComputerName SERVERNAME -BackupPath C:\Users\USER\Desktop\BAK_10.3.14.0-24.xml -file C:\Users\USER\Desktop\10.3.14.0-23.xml -ScopeId 10.3.14.0 Confirm The configuration for following scopes will be imported from the file C:\Users\USER\Desktop\10.3.14.0-23.xml to server SERVERNAME: 10.3.14.0.Do you want to perform this action? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):