We are trying to automate a migration from powercli with the HCX API.
We use the New-HCXMigration function. It works fine for us but it does not migrate the network adapters that the machine has at the source.
In the definition of the parameters of New-HCXMigration we do not see that the vlan of the network adapters are defined anywhere.
When the machine migrates to us, it detects the number of network adapters that the machine had in origin but not the Vlan.
How can we define the target VLANs?
Let's see if someone can help us.
Thank you very much.