PowerCLI Script to create new vDS Portgroups
We deployed new hosts into one of our office locations. Because these hosts would have different number of uplinks as well as use a LAG group instead of normal dvUplinks, we decided to create a new vDS Switch. Then, we needed to re-create all the portgroups as well. I figured, instead of manually adding 15-20 portgroups, I’ll automate it. I used this blog post as reference to do some of the work, and added the LAG and uplink changes.
VMware Social Media Advocacy