Adding Adapter on vSwitch
List Adapter
Get-VMNetworkAdapterVlan -ManagementOS
Adding Adapter
Add-VMNetworkAdapter -ManagementOS -Name "Lan" -SwitchName "vSwitch"
Add-VMNetworkAdapter -ManagementOS -Name "Wan" -SwitchName "vSwitch"
Add-VMNetworkAdapter -ManagementOS -Name "San" -SwitchName "vSwitch"
Tagging vlan on Adapter
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "LAN" -Access -VlanId 3023
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Wan" -Access -VlanId 2295
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "San" -Access -VlanId 2230
If you need to remove an Adapter
Remove-VMNetworkAdapter -ManagementOs -VMNetworkAdapterName LAN
Add an IP to an Adapter
New-NetIPAddress -InterfaceAlias "LAN" -IPAddress 10.10.10.10 -PrefixLength 24 -Type Unicast
On all interfaces (Physical or Virtual) we will activate the Jumbo Packets (also called Jumbo Frames) for 9014 Bytes and on the Physical NICs make sure to uncheck "Allow the computer to turn off this device to save power"
Get-NetAdapterAdvancedProperty On-DisplayName the“Jumbo "vSwitch"Packet” interface| uncheckSet-NetAdapterAdvancedProperty all-RegistryValue the option
On all interfaces that will be configured with an IP, uncheck IPv6
“9014”
For the SAN interface configuration uncheck all options except IPv4 and uncheck "Register this connection's addresses in DNS" and select "Disable NetBIOS over TCP/IP"