ESXi Host Migration Script

As a requirement for one of my Project I had to write a Script which allows migration of ESXi Host between vCenters
I have managed to write script does following Functions.

  1. Connect to vCenter server
  2. Enter Host in Maintenance Mode
  3. Disconnect Host from vCenter Server
  4. Disconnect from vCenter Server
  5. Connect to vCenter Server1
  6. Add ESXi Host to vCenter Server1
  7. Exit Host from Maintenance Mode
  8. Disconnect from vCenter Server1

I have couple of other things in mind as well. I will uploading the later versions as and when i add it
To Download the Script Click Here 

One thought on “ESXi Host Migration Script

Leave a Reply

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

%d bloggers like this: