How to Add a Network Adapter in Hyper V

Apply our detailed procedure right away

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Affiliate Disclosure
  • In the guide below, you will find out how to add or remove network adapters from your Hyper V.
  • In doing so, you can use both the Hyper V Manager or PowerShell.
  • The easiest way to add a network adapter to your VM is via PowerShell, by running a dedicated command.
Add Hyper-V Virtual machine Network Switch

If you are a system admin and work with Microsoft Hyper-V virtual machine, you may want to know how to add a network adapter to a Hyper-V virtual machine.

The latest version of Windows Hyper-2016 added the functionality that allows you to add or remove virtual network adapters to/from running virtual machines.

If you are new to the Windows Hyper-V virtual machine world, there are a lot of things to learn. However, knowing how to add a network adapter to the Virtual machine is an essential part of running the VMs successfully.

How we test, review and rate?

We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.

For more details you can read how we test, review, and rate at WindowsReport.

In this article, we show you how to add a network adapter to Windows 10 Hyper-V virtual machines. There are two ways to achieve this, and we have listed both the methods in this article.

How do I add a network adapter in Hyper-V?

In this article

1. Add a Virtual Network Adapter from Hyper-V Manager

  1. Launch Hyper-V Manager on your Windows machine.
  2. First, you need to make sure that you have a network adapter added to your Virtual Switch manager.
    add network adapter to Windows 10 Hyper-V
  3. To do this, click on the Virtual Switch Manager from the right pane in Hyper V-Manager.
    add network adapter to Windows 10 Hyper-V
  4. In the new window, from the left pane check if you have Virtual Network Card. You should see something like the New Virtual Switch.
  5. Click Cancel.
    add network adapter to Windows 10 Hyper-V
  6.  In the Hyper V-Manager, right-click on the Virtual Machine and select Settings.

  7. Under the “Add Hardware” section, select Network Adapter.
  8. Click the Add button.
  9. It will show you the Network Adapter window.
    add network adapter to Windows 10 Hyper-V
  10. Under “Virtual Switch“, click the drop-down menu and select “New Virtual Switch“.
  11. Click on Apply to save the changes. Click OK.
  12. If you have multiple Virtual Machine, you can add the same new virtual switch to other virtual machines as well.
  13. The Hyper-V is capable of sharing network resources with multiple VMs as long as you are running a Cat 5/6 cable on a Gigabit switch to reduce latency.

2. Add network adapter to Windows 10 Hyper-V using PowerShell

  1. If you don’t want to use the Hyper-V Manager or prefer your PowerShell do the talking, you can use PowerShell to add a network adapter to Windows 10 Hyper-V virtual machine.
  2. Right-click on Start and select Windows PowerShell (admin).

  3. In the PowerShell terminal, type the following command and hit enter.
    Add-VMNetworkAdapter -VMName svwdsg2-12r2 -SwitchName vSwitch -Name HotAdded -DeviceNaming On
  4. Wait for the command to execute and that’s it. You have successfully added a virtual network adapter in Hyper-V.
  5. The above command should work on configuration version 6.2 and above.

How can I remove my Hyper V adapter?

In case you want to remove the virtual network adapter, you can use the following PowerShell command:
Remove-VMNetworkAdapter -VMName svwdsg2-12r2 -Name HotAdded

The above command will remove all the network adapters that match the name unless you specify the name of the adapter to be removed.

To overcome this problem, you can either use filters or use the Hyper-V Manager to remove the adapter:

  1. In the Hyper-V Manager, right-click on your virtual machine and select Settings.add network adapter to Windows 10 Hyper-V
  2. From the left pane, click on Network Adapter and then click the Remove button.
  3. Click Apply to save the changes.

We hope you managed to add a network adapter in Hyper V using our guide. Also, once have it up and running, find out how to setup USB passthrough in Hyper-V, a critical functionality that’s not present by default.

Let us know how it went in the comments section below.

This article covers:Topics: