I Add Host for my VDS such as:
Get-VDSwitch -Name $mydvs |Add-VDSwitchVMHost -VMHost $vmHost
Now, I want to assign a uplink to the given Host. How can I do it?
Expect a moderator to move your thread to the area for PowerCLI now I've reported it.
You can use the Add-VDSwitchPhysicalNetworkAdapter cmdlet.
For linking a pNIC to a specific Uplink, you will have to use the API.
See for example Re: Assign vminc to Specific Uplink on VDS - VMware Technology Network VMTN