Is there a way to use PowerCLI to migrate a vmkernel nic from a standard vSwitch to a Distributed vSwitch?
You also can check the PowerCLI 4.1 distributed switches support in this blog post
If the host is already member of the the distributed switch you can use Set-NetworkAdater to move the nic:
Set-NetworkAdapter -NetworkAdapter $vmkernelNic -NetworkName "vdPortGroup"
PowerCLI Dev Team
Actually the example is for VM virtual nics. You can create new VMHost VMKernel network adapter attached to the distributed switch using New-VMHostNetworkAdapter -PortGroup dvportgroup but you can't move the VMkernel to vDS using Set-VMHostNetworkAdapter
Message was edited by: ykalchev