With networking workflows you can add a port group to distributed virtual switch, create a distributed virtual switch with a port group, and so on.

To access these workflows, navigate to Library > Workflows and enter the vcenter and networking tags in the workflow search box.

Workflow Name Description
Add port group to distributed virtual switch Adds a new distributed virtual port group to a specified distributed virtual switch.
Attach host system to distributed virtual switch Adds a host to a distributed virtual switch.
Create distributed virtual switch with port group Creates a new distributed virtual switch with a distributed virtual port group.