This PowerCLI script lets you back up your ESXi hosts by connecting to a vCenter Server and backing up the firmware of the available ESXi hosts.
Simply execute the script and follow the steps to fill in the relevant data like an IP address, the username, your password and your destination path in which you want to save the backup files.
After executing the script you will need to fill out the necessary information to connect to the vCenter Server and therefore to backup th ESXi host configuration.
After you provided all the information, the scripts starts to backup the ESXi host and places the files into your desired location.
The script shows a progress bar while backing up the ESXi host.
After the backup is successful, your screen should look like this:
You can check your path where you wanted to place your backups if the ESXi host backup bundles appear:
You can get the script here: Backup ESXi Host Configuration