Changing vNIC Port Group Assignment in VMware with PowerShell5 January 2009 · Filed in Explanation
Experienced PowerShell users won’t find this post very helpful, but less experienced PowerShell users—or even PowerShell newbies such as me—may find this handy. Today I had a need to change the port group assignment on the vNICs for a bunch of guest VMs in the lab. Rather than manually click through all these VMs just to change the port group, I decided to give PowerShell a try.
It worked like a champ! Obviously, you could limit the scope of this command by filtering the VMs that are returned with a wildcard pattern on the
Thanks to Cody and Hal for their assistance!Tags: ESX · Networking · VLAN · VMware · Virtualization Previous Post: Ubuntu and Mac OS X Integration Next Post: Partial Case Sensitivity with esxcfg-advcfg