0

This document describes how to get the Annotation of a file from TFS: http://msdn.microsoft.com/en-us/library/bb385979.aspx

I am interested in obtaining the Annotation of a file using PowerShell. Any ideas if this is possible and if so, how one would go about doing it?

Pretzel
  • 8,141
  • 16
  • 59
  • 84

2 Answers2

1

Since you can run normal MSDOS commands in PowerShell, I'd recomment installing the Team Foundation PowerTools from:

For 2008:

For 2010:

Using "tfpt annotate" and parsing the output.

Grant Holiday talks about automating the process here is you want to pass the whuffie on:

Community
  • 1
  • 1
Damien Ryan
  • 1,591
  • 1
  • 15
  • 34
0

PsTFS from Codeplex is a set of PowerShell commands to manage and use Team Foundation Server. May it help I don't test it.

JPBlanc
  • 70,406
  • 17
  • 130
  • 175