Tuesday, March 10, 2009

PsTFS – PowerShell and TFS, better than peanut butter and chocolate? (Okay, maybe not, but it’s close… ;)

CodePlexPsTFS

“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.

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...

CmdLet list

CmdLetDescription
Add-BranchCreates a branch
Add-FilesAdds files
Add-MemberProjectAdds members to a project group
Add-ProjectCreates a new project on the server
Add-LabelCreates a label
Add-WI (NEW)Create a Workitem for a given type and project name
Get-AllProjectsRetrieves information about every project
Get-ChangesetRetrieves changesets from one or more projects
Get-ChangesetByWI (NEW)Retrieve all changesets for a given workitem
Get-Diff (NEW)See the difference between two server folders
Get-Files (NEW)Retrieve files from a server folder
Get-LogTFS (NEW)Save events in an object collection (Adding/Removing file, Check-in...)
Get-ProjectMembersRetrieves members of a project
Get-PendingStatusGet the pending changes
Get-TFSConnects to a Team Foundation Server
Get-WIGets a specific version of a work item by its id or URL
Get-WIQueriesRetrieves all work item queries from a project
Get-WIsRuns a work item query
Remove-Files (NEW)PERMANENTLY delete one file or more
Remove-ProjectMembersRemoves members from a project
Set-MergePerforms merge between branches

…”

PsTFS - PsTFS V0.2

“Released: Mar 8 2009

Updated: Mar 9 2009 by pc152

Dev status: Beta

Downloads & Files

Sample - CreateProject – EN
documentation, 3K…

Exemple - CreateProject – FR
documentation, 4K…

PsTFS V0.2
application, 129K…

PsTFS V0.2 (Source)
source code, 9205K…

…”

The merging of these two, PowerShell and TFS, seems like a no-brainer in hind sight doesn’t it?

How cool would it be to have a PS Provider/Namespace for TFS? DIR’ing and CD’ing into the different areas of a TFS server would be pretty interesting wouldn’t it? Hum…

5 comments:

Noham CHOULANT said...

Hi

Thank you for post for my PsTFS. I will testing for to create a provider for TFS.

Noham CHOULANT said...

Ok this provider is developed. The next verion V1 on codeplex in 1 week.

Greg said...

Nice! Looking forward to it! :)

Noham CHOULANT said...

Hi

This version is on codeplex:
http://pstfs.codeplex.com/

Greg said...

OMG, that is SO VERY cool! You rock!

Blogged here about it, How cool would it be if there was a PowerShell Provider for Team Foundation Server? Where you could CD into a Project and DIR its work items? It’s very cool! Check this out…

GREAT work and thanks for the heads up!