PowerShell – Create a TFS team project with PowerShell using REST API

I’m back again with a new PowerShell script to create a TFS project without Power Tools (which isn’t supported on TFS 15+).

 

Experienced advanced operations engineer with a demonstrated history of working in the information technology and services industry. Skilled in Windows Server, Azure, Ethical Hacking, Office 365, Exchange, Jenkins, SCCM, Octopus Deploy and PowerShell to name a few. Strong engineering professional with a big passion for knowledge.

2 Comments

  1. sunny

    Thanks for this. I was having a problem with the TFS API giving me an error ‘You must provide all and only these properties/capabilities : ‘ when I was posting a project creation request with only the name and description fields supplied.

    There’s no mention in the TFS API v1.0 documentation that the capabilities fields are mandatory and must contain the template and version control information.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.