Quantcast
Viewing all articles
Browse latest Browse all 247559

Re: Get-VDSwitch -Name issue with 1000v

Just leave out the DistributedSwitch parameter.

Get-NetworkAdapter -VM $vm | Set-NetworkAdapter -Portgroup $portgroup

You got that $portgroup earlier in the script, and it implicitely knows which VDSwitch it is connected to.


Viewing all articles
Browse latest Browse all 247559


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>