PowerShell with TFS: how to perform batch-updates to WorkItems
Posted by: eXtensible mind,
on 21 Aug 2007 |
View original | Bookmarked: 0 time(s)
In thispost, I'll show how you canuse Powershell to perform one of the most annoying and (currently impossible) tasks in an iteration planning using TFS: batch update of all non-completed items so that they are moved to the next iteration.
The end result (which I'm using very effectively weekly :)) will be to be able to issue the following commands:
PS C:\> $tfs = Connect-Tfs tfsPS C:\> $tfs.WorkItems.FindAll("[System.TeamProject] = 'MyProject' and [System.State] != 'Closed' and [System.IterationPath]...