Did you already try something like this ?
Get-Cluster -Name MyCluster | Get-VMHost | Get-VirtualSwitch -Name vSwitch1 | New-VirtualPortGroup -Name PG400 -VLanId 697
Did you already try something like this ?
Get-Cluster -Name MyCluster | Get-VMHost | Get-VirtualSwitch -Name vSwitch1 | New-VirtualPortGroup -Name PG400 -VLanId 697