Windows/dhcp
Aus SchnallIchNet
< Windows
Version vom 15. Oktober 2016, 11:49 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ == export a scope == > Export-DhcpServer -ComputerName stgwpvinfdhcp01 -file C:\Users\csteidl-a\Desktop\10.3.14.0-24.xml -ScopeId 10.3.14.0 copy file to 10…“)
export a scope
> Export-DhcpServer -ComputerName stgwpvinfdhcp01 -file C:\Users\csteidl-a\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 stgwpvinfdhcp01 -BackupPath C:\Users\csteidl-a\Desktop\BAK_10.3.14.0-24.xml -file C:\Users\csteidl-a\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\csteidl-a\Desktop\10.3.14.0-23.xml to server stgwpvinfdhcp01: 10.3.14.0.Do you want to perform this action? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):