Wow, this is old. You are probably a PS guru.
For archives / next visitor follow these steps:
Install-SPSolution -Identity PortalSelector.wsp -GACDeployment
or
Install-SPSolution -Identity PortalSelector.wsp -GACDeployment -Confirm: $ false
The latter prevents the confirmation dialog box from appearing.
Jason weber
source share