21 apr 2022

Migrare prenotazioni server Windows su nuovo server ...

Per la serie "work smart, not hard", ho trovato utile la seguente procedura per migrare le prenotazioni da un vecchio Windows Server DHCP verso quello nuovo, tramite PowerShell:

Nel vecchio server esportiamo:

Export-DhcpServer -File C:\DHCPdata.xml -Leases -Force -ComputerName W2K12-DC.solidspace.local –Verbose

Nel nuovo le importiamo:

Import-DhcpServer -File C:\DHCPdata.xml -BackupPath C:\DHCP\ -Leases -ScopeOverwrite -Force -ComputerName W2K22-DC.solidspace.local –Verbose 

0 commenti:

Posta un commento