Hi,
I am trying to use the set-networkadpater cmdlet to change the network portgroup of a VM from VDS to VSS, both portgroups have the same name.
E.g.
Type SwitchName PortgroupName
VSS vSwitch0 VM Network
VDS dvSwitch0 VM Network
Get-VM -name "test2vm" | Get-NetworkAdapter | Set-NetworkAdapter -networkname "VM Network"
Everything goes through successfully, but the connection default to the "VM Network" on the dvSwitch0. Is this a bug?
Or did I miss anything here?