$ 0 0 Ah, i think I got ya. I only need to use portgroup? Get-NetworkAdapter -VM $vm | Set-NetworkAdapter -PortGroup $portgroup