TfsConfig remapDBs /databaseName:sqlInstance;databaseName /sqlInstances:sqlInstance1[,sqlInstance2,. /analysisInstance:analysisInstance ...

TfsConfig   remapDBs /databaseName:sqlInstance;databaseName 
                     /sqlInstances:sqlInstance1[,sqlInstance2,...] 
                    [/analysisInstance:analysisInstance]
                    [/analysisDatabaseName:AnalysisServicesDatabaseName]
                     /preview /continue
    
            Enumerates the databases in the listed sql instances
            and validates that all stored connection strings match
            the locations of the found databases. If an inconsistency
            is found then this command will attempt to fix it. 

            The databaseName is required and should be of the form
            sqlInstance;databaseName.

            The sqlInstance is required and can be of the 
            form  or \.
            
            The analysisInstance is optional and can be of the 
            form  or \.

            The /analysisDatabaseName parameter is optional.  This parameter 
            should be used to specify the name of the Analysis Services
            database that you want to use with Team Foundation Server
            when more than one Analysis Services database is hosted on 
            the specified instance.
            
            The preview option will display the actions that need to be
            taken to update the configuration.

            The continue option allows the remapDBs command to 
            succeed even if one of the collection databases cannot
            be found.  If this is true then the connection string for any
            collection that cannot be found will be updated to use the
            sql instance that the configuration database lives on.