Introduction

PsTFS is a set of PowerShell commands to manage and use Team Foundation Server. PowerShell effectiveness is combined with the power of TFS API to maximize TFS capabilities.

Samples for each CMDLET are available.

These CMDLETS provide support for :
  • Visualizing project(s) members
  • Adding a list of members to a group of projects
  • Listing projects
  • Viewing work items
  • Executing work items queries
  • Adding one or more file to a project
  • Adding folder recursively
  • Performing merges
  • And many more to come...

You can request specific CmdLets here

Documentation

View tab Documentation

Sample Script

Sample script here

Prerequisites

  • Team Epxlorer 2008
  • PowerShell 1.0

Tested environments

  • Vista 32bit
  • Windows Server 2003 R2
  • Windows Server 2008
  • Windows 7

If you have successfully (or not) tested the CmdLets on another environment, feel free to post a message here.

Installation

To install PsTFS CmdLets :
  • First, install assembly :
    • by running this command : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\installutil.Exe PowerShell.Host.PsTFS.CdmLet.Dll
OR
  • Use the Setup Intall
If you encounter any problem, you can ask for help there

Reference

  • http://blogs.microsoft.co.il/blogs/shair/archive/2009/11/09/pstfs-cmdlet-for-team-foundation-server-codeplex.aspx
  • http://coolthingoftheday.blogspot.com/2009/03/pstfs-powershell-and-tfs-better-than.html

Last edited Nov 22, 2009 at 6:25 PM by pc152, version 43