You'd be looking for the New-VirtualSwitch and the New-VMHostNetworkAdapter/Set-VMHostNetworkAdapter cmdlets if you are looking to do this on a standard switch.
I'd suggest starting your reading with those - I found the examples quite informative. Give that a try and report back if you run into problems - remember to post what commands you've tried.