So,
We have a task where we need to migrate VM Networks from a DVS switch to Standard Switch and eventually vice versa. The problem is they network labels are the same name. These VM's are currently on the DVS. It looks pretty easy to go from standard to DVS with the -DistributedSwitch option, but can't seem to get it to work the other way around.
This:
Get-VM $vm | Get-NetworkAdapter | Set-NetworkAdapter-NetworkName"10.10.10.x" Keeps it on the DVS instead of setting it to the network label for the standard switch. Is this possible to do? Both labels are the same.