create Hyper-V virtual switch with VLAN tagging


  • Hello All,
    I would like to create virtual network switch on a physical NIC of the Hyper-V host in Powershell.
    I use "New-VMSwitch" with "-AllowManagementOS $true" and the virtual switch will be ready. I would like to use "Enable virtual LAN identification for management operating system" and tag a VLAN to the virtual switch. Can you please help me with an example how to do it in Powershell?

    • Moved by Bill_Stewart Wednesday, July 09, 2014 2:16 PM Abandoned
    Sunday, March 30, 2014 5:58 PM

All replies