We have a reasonable-sized Team City installation and currently I am planning to add another 25 agents, 5 agents per machine. So far I was doing the installation manually:
- Log into the server
- Download and run
agentInstaller.exe
, add the agent number to the name - Open a command prompt as administrator and run the script to install the service (given a service name with the agent number appended)
- Open the
Services
configuration settings, change the user that the service is running as and start the service
Is there a simple way to script as many of these steps as possible? Ideally I would like to log into the box, and run a single script with agent number to do steps 2-4.