$ 0 0 Is that for a VM where the OS is already deployed ?If yes, have a look at the Set-VMGuestNetworkInterface cmdlet.