You can indeed run Connect-VIServer against multiple vSphere servers.
How did you run the cmdlet ? Like this
Connect-VIServer -Server "vc1","vc2"
And the account under which you run the cmdlet has access to both vCenters I assume ?
Btw, are you sure you displayed
$global:defaultviservers
and not
$global:defaultviserver