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.
- Connect to vCenter server
- Enter Host in Maintenance Mode
- Disconnect Host from vCenter Server
- Disconnect from vCenter Server
- Connect to vCenter Server1
- Add ESXi Host to vCenter Server1
- Exit Host from Maintenance Mode
- Disconnect from vCenter Server1
I have couple of other things in mind as well. I will be uploading the later versions as and when i add it
Regards
Munish