Forum Discussion
barryhallett
Nov 21, 2025Copper Contributor
Hyper-V Core - Setting up a VLAN
Hi All, Forgive me if I've put this post in an incorrect location. I'm not a large user of Microsoft forums. I have tried to find where to create a post under the servers section but I cannot fin...
Jamony
Jun 29, 2026MCT
You can do this from Hyper-V Core with PowerShell or remote Hyper-V Manager. Usually you create one external virtual switch, make sure the physical switch port is configured for the VLAN/trunk you need, then set the VM adapter VLAN with Set-VMNetworkAdapterVlan -VMName <vm> -Access -VlanId <id>. If those VMs need internet, the VLAN still needs routing/NAT somewhere.