===update host=== esxcli software vib install -d /vmfs/volumes/datastore1/patch-directory/ESXi670-201901001.zip esxcli software vib install -d /vmfs/volumes/5d362b5b-50b676e7-bdc0-8cdcd4affb10/gen8/VMware-ESXi-6.7.0-Update3-14320388-HPE-Gen9plus-670.U3.10.4.5.19-Aug2019-depot.zip esxcli software vib install -d /vmfs/volumes/5d362b5b-50b676e7-bdc0-8cdcd4affb10/gen8/ESXi670-201911001.zip ===update host by profile=== esxcli software profile get list profile: esxcli software sources profile list -d /vmfs/volumes/5d362b5b-50b676e7-bdc0-8cdcd4affb10/gen8/ESXi670-201911001.zip esxcli software profile update -p ESXi-6.7.0-20191104001-standard -d /vmfs/volumes/5d362b5b-50b676e7-bdc0-8cdcd4affb10/gen8/ESXi670-201911001.zip esxcli software profile update -p ESXi-6.5.0-20191104001-standard -d /vmfs/volumes/5d362150-fd6d451a-e961-8cdcd4affb10/ESXi650-201911001.zip https://www.vladan.fr/upgrade-esxi-6-x-to-6-7-via-cli-two-methods/ ===backup esxi conf=== vim-cmd hostsvc/firmware/sync_config vim-cmd hostsvc/firmware/backup_config Connect-VIServer 192.168.28.10 -user root -password Get-VMHostFirmware -VMHost 10.0.0.1 -BackupConfiguration -DestinationPath C:\Downloads ==restore esxi conf==== Connect-VIServer 192.168.28.10 -user root -password Set-VMHost -VMHost ESXi_host_IP_address -State 'Maintenance' Set-VMHostFirmware -VMHost 10.0.0.1 -Restore -SourcePath c:\bundleToRestore.tgz -HostUser root -HostPassword exampleRootPassword vim-cmd hostsvc/maintenance_mode_enter vim-cmd hostsvc/firmware/restore_config /tmp/configBundle.tgz ===reset esxi6 root pwd=== https://www.vladan.fr/how-to-reset-esxi-6-x-root-password-and-under-which-conditions/