I've been combing through the list of commandlets and can't seem to find one for defining a connection between a PW work area and PW connect project.
Apologies in advance if I'm missing the obvious!
Take a look at the Set-PWConnectedProjectAssociation cmdlet. It may do what you need.
Do you know Brian if a commandlet is in the pipeline for this?
This would be a question for Dave B.