unhide recovery partition

PowerCLI Basics – Backup and Restore ESXi Configuration Data

Here is a quick post on how to backup and restore the ESXi configuration data using PowerCLI. Cmdlets used and the corresponding reference page: Get-VMHostFirmware Set-VMHostFirmware Backup First, connect to the vCenter Server with the PowerCLI C:\> Connect-VIServer command and enter your credentials. Backup the configuration data with PowerCLI C:\> Get-VMHostFirmware -VMHost <IP_or_FQDN> -BackupConfiguration -DestinationPath <Path> For example: PowerCLI C:\> Get-VMHostFirmware -VMHost -BackupConfiguration -DestinationPath D:\Configs\esx03 The backup file will be saved as a .tgz […]