Summary: Use Windows PowerShell to add a network adapter to a virtual machine.
How do I add a network adapter to my virtual machine on Hyper-V?
Use the ADD-VMNetworkAdapter cmdlet:
ADD-VMNetworkAdapter -vmname “My Virtual Machine” -switchname “ProdVlan”
Remember, you can always get a list of Hyper-V networks with Get-VMSwitch.
0 comments