Create one switch of each type. Name them after their job, so the VM settings read clearly later.
External
Hyper-V host
Get-NetAdapter | Select-Object Name, Status, LinkSpeed New-VMSwitch -Name "CON-WAN" -NetAdapterName "Ethernet" -AllowManagementOS $true
-AllowManagementOS $true lets the host keep using that card for its own network. The host's connection drops for a few seconds while the switch is created.
Internal
Hyper-V host
New-VMSwitch -Name "CON-LAN" -SwitchType Internal
The host gets a new card called vEthernet (CON-LAN). Give it an address on that network if the host needs to reach the VMs:
Hyper-V host
New-NetIPAddress -InterfaceAlias "vEthernet (CON-LAN)" -IPAddress 10.0.1.2 -PrefixLength 24
Private
Hyper-V host
New-VMSwitch -Name "CON-TEST" -SwitchType Private
Connect a VM
Hyper-V host
Connect-VMNetworkAdapter -VMName "CON-DC-01" -SwitchName "CON-LAN" Get-VMNetworkAdapter -VMName "CON-DC-01" | Select-Object VMName, SwitchName, MacAddress
Done when
Check
Get-VMSwitch | Select-Object Name, SwitchType lists all three.


