Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

create Hyper-V virtual switch with VLAN tagging

$
0
0

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?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>