I want to configure VLAN for management OS for an external HyperV switch. From Virtual switch manager, its straight forward, by checking enable VLAN for mangement OS in HyperV switch properties.
How can I set VLAN in the same way through powershell command ?
Command I used to create HyperV Virtual switch: New-VMSwitch -Name external_switch -NetAdapterName Ethernet -AllowManagementOS $false