Monday, September 14, 2015

Make your TFS instance unavailable

Before upgrading/migrating a TFS environment, I make the environment unavailable first.
As I always forget the exact instructions, I’ll write them down in this (short) post:
  • Log in on your TFS Application Tier
  • Open a Command Prompt in Administrator mode
  • Browse to the installation folder of your TFS instance. Open the Tools subfolder.
  • Run the following command:
    • TFSServiceControl quiesce
  • This will stop all the services and application pools of TFS
  • To undo this, you can always run the following command:
    • TFSServiceControl unquiesce

More information: https://msdn.microsoft.com/en-us/library/ff470382.aspx

1 comment:

Anonymous said...

* unquiesce