18303 shaares
1707 private links
1707 private links
Backup & Restore de configuration ESXi en ligne de commande avec PowerCLI.
Backup
Connect-VIServer <mon-esxi-ip>
Get-VMHostFirmware -VMHost <mon-esxi-ip> -BackupConfiguration -DestinationPath "C:\Downloads"
Restore
Set-VMHost -VMHost <mon-esxi-ip> -State "Maintenance"
Get-VMHost "<mon-esxi-ip>" | Set-VMHostFirmware -Restore -DestinationPath "C:\Downloads"
Get-vmhost "<mon-esxi-ip>" | Set-VMHostFirmware -Restore -Force -DestinationPath "C:\Downloads"