ESXi Configuration Restore Script

This little script kinda goes with the Backup script in my previous post. The specific use case is that of an ESXi host that has had to be rebuilt from scratch due to some sort of hardware failure. Install and patch it to the same level as the backup file you have for it (This is where the Manifest file comes in handy!). Do NOT join it to the vCentre server, assuming it is still defined in vCenter, this restore process will automagically reconnect it to vCenter.

To run this script you will need to install VMWare PowerCLI, have access to the relevant backup files and alter the variables at the top of the script to suit your environment.

Leave a Reply

Your email address will not be published. Required fields are marked *