Create and configure a virtual switch with Hyper-V — by Microsoft Learn
Explains the three virtual switch types (external, internal, private) and how to create one in Hyper-V Manager or with New-VMSwitch. It also covers sharing the host adapter with the management OS, VLAN IDs, and a NAT option for Windows clients; creating an external switch can briefly interrupt the host's network connection.
Quick steps
- Hyper-V Manager, Actions, Virtual Switch Manager, choose a type and Create Virtual Switch
- External switch in PowerShell: New-VMSwitch -Name <switch-name> -NetAdapterName <netadapter-name>
- Internal or private: New-VMSwitch -Name <switch-name> -SwitchType Internal (or Private)
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Create and configure a virtual switch with Hyper-V by Microsoft Learn. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me