Using standard port groups
Port groups are collections of ports that have the same properties, such as the same virtual switch, VLAN ID, Teaming policy, policies for filtering, tagging, and traffic shaping. Port groups are identified by a network label name. You should give all port groups in a data center, which are connected to the same network, the same network label. This will make virtual machine configurations portable across hosts. Using the PowerCLI cmdlets, you can only specify a network label name for the port group and a VLAN ID.
Note
A Virtual Local Area Network (VLAN) is a virtual computer network independent of physical location. All of the computers in a VLAN can receive broadcasts from the others and are usually in the same IP subnet.
Creating standard port groups
The New-VirtualPortGroup
cmdlet will create a new port group for a vSphere Standard Switch. The syntax of this cmdlet is as follows:
New-VirtualPortGroup [-Name] <String> [-VirtualSwitch]
<VirtualSwitch...