TfsConfig remapDBs /databaseName:sqlInstance;databaseName
/sqlInstances:sqlInstance1[,sqlInstance2,...]
[/analysisInstance:analysisInstance]
[/analysisDatabaseName:AnalysisServicesDatabaseName]
/preview /continue
[/usesqlalwayson]
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.
The UseSqlAlwaysOn option should be used if your databases are
on a Sql Server High Availability AlwaysOn Availability Group.
This option sets MultiSubnetFailover in the connection string.
TfsConfig purgebin /collection: /configName: Configures the purgebin job for the given collection using the provided configuration ...
TfsConfig purgelocalversions /collection: /days: Configures the purgelocalversions job for the given collection. All workspaces ...
TfsConfig rebuildWarehouse /analysisServices | /all /reportingDataSourcePassword: Rebuilds the Analysis Services database ...
TfsConfig registerDB /sqlInstance: /databaseName: /usesqlalwayson Changes the database the application tier uses. The sqlInstance ...
TfsConfig remapDBs /databaseName:sqlInstance;databaseName /sqlInstances:sqlInstance1[,sqlInstance2,. /analysisInstance:analysisInstance ...
TfsConfig removeredundantcontent /collection: /configure Configures the removeredundantcontent job for the given collection. ...
TfsConfig repair Attempts to repair the Team Foundation configuration database, and queues a repair job on the collection ...
TfsConfig repairCollection /collectionName: | /collectionId: /timeout: Repairs a specified Team Project collection. /timeout: ...
TfsConfig settings /notificationUrl: /serverUrl: Manages miscellaneous Team Foundation Server settings. /notificationUrl: ...