Get-VMHostFirmware on ESXi 8?
Has anyone successfully been able to execute ESXi 8 config backups using the powercli command Get-VMHostFirmware -VMHost myhost01 -BackupConfiguration -DestinationPath C:\ConfigBkups ?
When I run it against my ESXi 7 hosts it works as expected but when trying to run it against v8 hosts, I get the error "An error occurred while sending the request. At line:1 char:1"
I know the command places the config file as a http download from the host and in my case it doesn't appear to be a ESXi firewall issue, the built-in rule allowing incoming port 80 is enabled. I'm able to ssh to the host and run the command vim-cmd hostsvc/firmware/backup_config and using the outputted http url I'm able to grab the file successfully over http, so connectivity seems intact.
I know there are more streamlined and modern host config management, particularly host/cluster profiles, which I do make use of, but I like having my backup scripts at the ready to take a quick config backup before doing any higher-risk maintenance activities for my own comfort level.