Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi William,
This is the first time I've used github so apologies if I'm doing it wrong. I love the script you wrote for cross vCenter/SSO domain migrations. We have a very old DB (I believe it started as a 4.1 DB) that has been upgraded through the years to 6.0u2 but is now suffering from slowness, bugs, etc. We built an entirely clean 6.0u2 VCSA structure with multiple vCenters and needed a way to move our 3k+ VMs over while online.
I added a number of additional features such as:
-Read in list of VMs to move from CSV
-Unless specified, read in source datastore(s) of the VM's disks and set that as the target datastore.
-Unless specified, read in source portgroups/VDSes of the VM and set those on the target side
-Find host with the lowest memory usage and wrote a check to prevent overcommitment
-Wrote a check to prevent movement of HW version 4 VMs. I believe there is a bug (noted in the error message)
-Read in source tags (if they exist) and write those tags to the moved VM
I'm by no means a powershell guru like yourself (or Luc) so I'm sure there are better ways to do some of the things I did but I spent quite a while on the improvements and I've moved nearly 3k VMs so far. I hope that your readers can benefit from the script if they were in a similar position as us. Obviously the new VCSA migration tools could take away a lot of the pain.
Let me know if anything isn't clear. Thanks!
-Alex