You can use the Settings command to automate changes to the uniform resource locator (URL) that is used by the notification interface and for the server address for Visual Studio Team Foundation Server. By default, the notification interface URL and the server URL match in Team Foundation Server, but you can configure separate URLs. For example, you might want to use a different URL for the automatic e-mails that Team Foundation Server generates. You must run this tool from the application tier to update all servers so that they use the new URLs.
To change these URLs interactively or to just view the current settings, you can use the administration console for Team Foundation. For more information, see Open the Team Foundation Administration Console.
To use the Settings command, you must be a member of the Team Foundation Administrators security group and the Administrators group on the application-tier server for Team Foundation. For more information, see Team Foundation Server Permissions.
Even if you log on with administrative credentials, you must open an elevated Command Prompt window to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt window, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see this page on the Microsoft Web site: User Account Control.
Use to set the uniform resource locator (URL) with the appropriate option.
Specifies the URL of the application-tier server for Team Foundation. This value is stored in the configuration database for Team Foundation.
Specifies the URL to use in the text of e-mail alerts, if that URL differs from the URL of the application-tier server for Team Foundation. This value is stored in the configuration database.
The following example changes the value of NotificationURL to http://contoso.example.com/tfs and the value of ServerURL to http://contoso.example.com:8080/tfs.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, places, or events is intended or should be inferred.
TFSConfig Settings /NotificationURL:http://contoso.example.com/tfs /ServerURL:http://contoso.example.com:8080/tfs