BACKUP configuration of Vmware ESXI with POWERCLI

by butsch 13. September 2020 15:47

Backup the config from a VMware ESXI free Version up to 6.7.

There is a nice way to backup the free ESXi configuration settings into one file. This us usefull to document the ESXi before you update it and don't want to make 200 screenshots.

  1. Download and Install POWERCLI from VMware.


  1. Start Power shell elevated (As Administrator)
  2. set-executionpolicy remotesigned
  3. run from "C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Scripts"


  1. Do the backup

set-executionpolicy remotesigned -Confirm:$False

Set-PowerCLIConfiguration -InvalidCertificateAction ignore -Confirm:$False

Connect-VIServer -Server -User root -Password **********

Get-VMHostFirmware -VMHost -BackupConfiguration -DestinationPath C:\20_SERVER_ESX_ASUS_P11C-M4L\03_ESX_CONFIG_BACKUP

Disconnect-VIServer -Server -Confirm:$False




C:\> Set-PowerCLIConfiguration -InvalidCertificateAction ignore -Confirm:$False

Scope ProxyPolicy DefaultVIServerMode InvalidCertificateAction DisplayDeprecationWarnings WebOperationTimeout


----- ----------- ------------------- ------------------------ -------------------------- -------------------

Session UseSystemProxy Multiple Ignore True 300


AllUsers Ignore



C:\> Connect-VIServer -Server -User root -Password imelsasswohntdegillesim

Name Port User

---- ---- ---- 443 root



C:\> Get-VMHostFirmware -VMHost -BackupConfiguration -DestinationPath C:\20_SERVER_ESX_ASUS_P11C-M4L\03_ESX_CONFIG_BACKUP

Host Data

---- ---- 20_SERVER_ESX...



C:\> Disconnect-VIServer -Server -Confirm:$False






Restore from the backup would be:


set-executionpolicy remotesigned -Confirm:$False

Set-PowerCLIConfiguration -InvalidCertificateAction ignore -Confirm:$False

Connect-VIServer -Server -User root -Password **********

Set-VMHostFirmware -VMHost -Restore -SourcePath C:\20_SERVER_ESX_ASUS_P11C-M4L\03_ESX_CONFIG_BACKUP \configBundle- -HostUser root -HostPassword **

Disconnect-VIServer -Server -Confirm:$False



You can view the config if you UNPACK 10x TAR and ZIP files from the backup file:




VMware Link:



VMWare | Deployment

Comments are closed

Werbung von Drittfirmen (Nicht Butsch Informatik):

Werbung von Drittfirmen via Google Adsense: