VMware: Add PortGroup to all hosts in cluster with PowerCLI | VMpros
Very usefull and time saving script – found over on blog site VMPROS. Many Thanks. Get-Cluster “My Cluster” | Get-VMHost | Get-VirtualSwitch -Name “vSwitch0″ | New-VirtualPortGroup -Name “MyPortGroupName” -VLanId 1234 via VMware: Add PortGroup to all hosts in cluster with PowerCLI | VMpros.