Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rename an agent pool in TFS

Tags:

tfs

tfs-2015

How to rename an existing agent pool in Team Foundation Server 2017?

I've created an agent pool in TFS 2017. Now I want to rename it for a better understanding.

like image 546
Toni Wenzel Avatar asked Jun 20 '17 10:06

Toni Wenzel


People also ask

How do I change my agent pool?

Navigate to Project settings, Agent pools. Select your agent pool and choose Update all agents.

How do I update my TFS agent?

You can do this from the agent pools tab under your team project collection or account. When a newer version of the agent is only different in minor version, it is automatically upgraded by Team Services or TFS. This upgrade happens when one of the tasks requires a newer version of the agent.

How do you rename a file in TFS?

You can use the rename command of the tf command-line utility to move or rename a version-controlled item in your workspace. Use the rename command to move multiple files by specifying wildcard characters.

How do I change my Azure DevOps agent name?

Currently only private agent name can be renamed, run config. cmd remove first, that will take care of remove the windows service and also remove the agent from your azure devops , then run config. cmd again to re-config in order to change the agent name, the agent name is a primary key in the backend.


1 Answers

We cannot rename the existing agent pool in TFS, you can delete the existing agent pool, then create a new pool with the name for a better understanding, then reconfigure the agents with the new pool.

On the Settings->Agent Pools, for each Pool Name on its right there is a small black triangle pointing down, left click on it, a context menu will appear, last menu item is 'Delete', click on that the Agent Pool will be gone after a confirmation dialog.

Deploy an agent on Windows

like image 184
Andy Li-MSFT Avatar answered Sep 20 '22 17:09

Andy Li-MSFT