Wednesday, April 01, 2009

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…

PsTFSTFSProvider

“TFSProvider allows you to browse a TFS server as in Windows Explorer.
At the root of the provider you can access:

  • Workitem
  • SourceControl
  • TeamProject
In each subset it is possible to navigate to other elements.
If you are in a TFSProvider orders PsTFS not need to setting a variable $ tfs

Sample : Workitems route of a project

PS TFS:\> cd TEAMPROJECT
PS TFS:\TEAMPROJECT> dir
Name
----
Demo23
DemoAuto
MyDemo
test
VSTS.Noham
PS TFS:\TEAMPROJECT> cd MyDemo
PS TFS:\TEAMPROJECT\MyDemo> Get-ChildItem
Alias Element
----- -------
WI WORKITEM
SC SOURCECONTROL
MP MEMBERSPROJECT
DC DOCUMENTS
BL BUILD
PS TFS:\TEAMPROJECT\MyDemo> cd WI
PS TFS:\TEAMPROJECT\MyDemo\WI> Get-ChildItem Format-Table

image

image

image

…”

Dude, how cool is THAT!

CD into A TFS Server, CD into a Project, CD into it’s Source Control, or Work Items or Documents or Builds and then DIR all the members there. ZOMG, that is officially VERY Cool.

Great work Noham!

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

3 comments:

  1. Greg - this is awesome - thanks for sharing this - ever since HDC2008 I have been waiting to really get more from Powershell and this will do the trick - this is why you are tops on my RSS Bandit - thank you sir

    ReplyDelete
  2. Hi

    I create a new version (V0.3.2) because the V0.3 had bugs major ;)

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...