I recently had to write a powerCLI in order to create many infrastructures but I wanted them to be all the same exactely. In my design, I wanted to add an interface for vMotion on a specific dvSwitch, but I was not able to set the IP Stack during the creation. I found a way to create it : create on a standard vswitch and migrate it to the dvswitch. It would be simpler to add this functionnality.
this is a duplicate of https://powercli.ideas.aha.io/ideas/PCLI-I-9 i would vote on it