This code will create a new vswitch on all hosts in the cluster and assign adapters.
Distributed vSwitch code is here >
Edit as needed:
get-cluster “mycluster” | Get-VMHost | New-VirtualSwitch -Name “vSwitch3” -Nic vmnic8,vmnic9
Vmware Links:
https://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/New-VirtualSwitch.html