Configure VLAN for vNIC

Configure the VLAN for vNICs using PowerShell

John Savill

January 9, 2017

1 Min Read
Configure VLAN for vNIC

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

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like