I have a vCenter and it has almost 100+ dvPortgroups and 20+ Standard Switches. My vCenter is 6.7. In Vmware site, I saw that the feature AutoExpand is enabled by default from vCenter 5.1.
Here my intention is disable ‘AutoExpand’ only for dvPortgroups with a powershell Script.
Manual task is time consuming. Can someone please help me to share the powershell script that can achieve that task ?