Powershell DHCP Backup & Restore

image_pdfimage_print

DHCP Backup & Restore

DHCP exportieren
Export-DHCPServer –ComputerName DC01.ndsedv.de -Leases -File C:\Temp\DHCPExport.xml -verbose

DHCP importieren aus Backup
Import-DHCPServer –ComputerName DHCP01.ndsedv.de -Leases –File C:\Temp\DHCPExport.xml -BackupPath C:\Temp\DHCPBackup -Verbose

DHCP importieren nur 2 Scopes
Import-DHCPServer –ComputerName DHCP01.ndsedv.de -Leases –File C:\Temp\DHCPExport.xml -BackupPath C:\Temp\DHCPBackup -Verbose –ScopeId 10.100.10.0, 10.100.20.0

image_pdfimage_print