You can use the HostNetworkSystem managed object to access and manipulate the elements of an ESXi network. What to read next Retrieving Information About the Network ConfigurationYou can retrieve information about the network configuration as follows: Adding a Standard Virtual SwitchYou call the HostNetworkSystem.AddVirtualSwitch method to add one or more virtual switches. Pass in the name of the virtual switch and a HostVirtualSwitchSpec data object as parameters. Adding a Virtual Port GroupPort groups allow you to differentiate between different kinds of traffic passing through a virtual switch. You can also use port groups as a boundary for communication or for security policy configuration. The default port groups for ESXi systems are Management Network and VM Network. Adding a VMkernel Network InterfaceVMkernel network interfaces provide the network access for the VMkernel TCP/IP stack. You must create new VMkernel ports for your ESXi system if you plan on using VMotion, VMware FT, or iSCSI and NAS storage. A VMkernel port consists of a port on the virtual switch and a VMkernel interface. Parent topic: VMware Standard Virtual Switch