Blog Stats
  • Posts - 48
  • Articles - 0
  • Comments - 0
  • Trackbacks - 34

 

Monday, March 05, 2007

Using PowerShell and Team Build Object Model

Jason Prickett has a post up on using PowerShell with the Team Build Object Model:

This entry is based on Team Build's next version which is available in a CTP release right now, and will be in Beta very soon (don't ask, I don't know when). In the next version of Team Build, we have included an Object Model (OM) that wraps all the functionality of the Web Services. This makes writing your own apps that need build information, much easier.

As I talk about how to use the methods and objects in the OM, I will show examples using PowerShell commands. PowerShell is an incredible recently new shell for Windows, that allows you to manipulate not just text output by command line apps, but real objects returned from any managed library. If you want to know more (and you should), goto to http://www.microsoft.com/PowerShell

As you may or may not know, I'm a Team System junkie (Team System Rocks!, anyone?).  So I'm very interested in any tools I can use to increase my knowledge and power in Team System and Team Foundation Server.  I'll be back to this post once I finally fire up PowerShell.

Using Visual Studio to create PowerShell cmdlets

For anyone intersted in doing PowerShell cmdlet development, Mike Stall has a good post on using Visual Studio to create and debug cmdlets:

Here's how you can get a sweet Visual Studio development experience for building and debugging your own PowerShell cmdlet:
- It has Wizard support for initially creating the cmdlet,
- intellisense
- F5 build support which also registers your cmdlet
- provides the full power of the VS debugger including Edit-and-Continue when debugging your cmdlets.

I've not done any cmdlet programming yet (still on the To Do list).  But being able to use Visual Studio and IntelliSense would really be appealing when I finally start.

 

 

Copyright © Mickey Gousset