MS HyperV 2019/2022 error when creating Virtual Switch

  1. Create NIC Teaming as per usual.
  1. Configuration NIC MS Network Adapter Multiplexor Driver as per usual
  2. Run POWERSHELL
New-VMSwitch -Name "{Name your new vSwitch here}" -NetAdapterName "{NIC Team name you created previously}" -AllowNetLbfoTeams $true -AllowManagementOS $true

This will create a NIC with IP configurations done.

Go the HyperV Management -> Virtual Switch Manager, add in VLAN ID.

Done