No description or website provided.
C# PowerShell
Failed to load latest commit information.
.gitignore Add markdown extension to README Feb 22, 2014
demo.ps1 Add demo script Feb 22, 2014


A PowerShell module alternative to the ALM Rangers' Quick Response Sample "Command line utility to manage Team Foundation Server Teams and Users".

Quick Response Sample – Command line utility to manage Team Foundation Server Teams and Users

Quick Response Sample Solutions downloads


Download and extract the file from the Releases page. The contents should be extracted to a folder on the PowerShell PSModulePath, for example %USERPROFILE%\Documents\WindowsPowerShell\Modules\, ie C:\Users\Jason\Documents\Windows\PowerShell\Modules\.

The zip file should be extracted so that the DLL file exists within a folder of the same name, eg: .\Modules\PSTfsTeams\PSTfsTeams.dll.

The module can then be imported:

Import-Module -Name PSTfsTeams

A list of teams for a given Team Project can be retrieved:

Get-TfsTeam -CollectionUri http://tfsserver:8080/tfs/DefaultCollection -TeamProject YourProject

A new team can be created:

New-TfsTeam -CollectionUri http://tfsserver:8080/tfs/DefaultCollection `
  -TeamProject YourProject `
  -Name 'New team name' `
  -Description 'Description of new team'

Add a member to an existing team:

Add-TfsTeamMember -CollectionUri http://tfsserver:8080/tfs/DefaultCollection `
  -TeamProject YourProject `
  -Team 'A team name' `
  -Member 'New member user name'