Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

jstangroome/PsTfsTeams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PSTfsTeams

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

Usage

Download and extract the PSTfsTeams.zip 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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published