Adjust $server build for Connect-DbaSqlServer
Adjust $server build for Connect-DbaSqlServer

Adjusting to address an issue where a connection attempt is made using localhost or provided SQL Server instance before object is fully built.
kozloski/dbatools,sqlpadawan/dbatools,Splaxi/dbatools,dsolodow/dbatools,wsmelton/dbatools,SirCaptainMitch/dbatools