Add Host to distributed virtual switch from CLI

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Rand__

Well-Known Member
Mar 6, 2014
6,634
1,767
113
Does anyone know the command to add a host to a dvs via CLI?

That would be on the esx host (esxcli/esxcfg-vswitch) and not Power-CLI if possible at all...

Looking to improve my post-install automation :)
 

Rand__

Well-Known Member
Mar 6, 2014
6,634
1,767
113
Ah nevermind.
Seems to be way too complicated to automate the whole dvswitch topic :/