Will the following command work the same for a dvportgroup as it would a standard port group?
Get-VM $VMname | Get-NetworkAdapter |Set-NetworkAdapter -NetworkName "$network"
Unfortunately I don't have a VDS to test with.
Yes, this command will work for a dvportgroup the same as for a standard portgroup. You can check example 5 of the Set-NetworkAdapter help.
Regards, Robert
Yes, this command will work for a dvportgroup the same as for a standard portgroup. You can check example 5 of the Set-NetworkAdapter help.
Regards, Robert