Book Image

Team Foundation Server 2015 Customization

By : Gordon Beeming
Book Image

Team Foundation Server 2015 Customization

By: Gordon Beeming

Overview of this book

Table of Contents (17 chapters)
Team Foundation Server 2015 Customization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Uploading changes after team project creation


As mentioned earlier, most of the time, you'll want to make modifications to your process template after the project has already been created. We showed you how to import various configuration files whenever you make changes, and that is fine when you probably make one small change and then need to upload it to only one team project. What happens if you have lots of team projects to update and you have made lots of changes? Well, for such cases, you can use a script that iterates through all the configuration files and uploads them to TFS very easily. Thus, it's a lot less manual effort and there are fewer chances of missing a customization and potentially causing errors for anyone using TFS at that time:

#config
$server = "gordon-lappy:8080/tfs"
$CollectionName = "DefaultCollection"
$TeamProjectNames = @("DemoGit","DemoTFVC")
$ProcessTemplateRoot = "C:\code\git\Process Templates\Scrum"
$CollectionUrl = "http://$server/$CollectionName"
$API_Version...