Q. How can I configure a VLAN for a vNIC on the host?

A. To configure a VLAN on a vNIC (a NIC created on the virtual switch for the management host) use the Set-VMNetworkAdapterVlan cmdlet, for example:

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Storage" -Access -VlanId <VLAN ID>