PowerShell & Team Foundation Server

PowerShell, the bits formerly known as Monad. I imagine many of you have heard of it by now. If you're like a lot of us in TFS Admin Ops, you're also looking forward to kicking the tires and starting to figure out just how much you'll be able to do with it.

Our team is considering employing PowerShell in a two significant areas:

  • Commandlets to perform common administrative/operational tasks: Imagine a commandlet to report the currently active web requests, or the most recent X events of a given category or higher;
  • Automation infrastructure: A commandlet to populate AD with a given set of users. Maybe another to take that set of users and give them a some initial permissions with TFS. Still another to validate those users have been modified as expected after using UI automation to modify them from the security/group membership dialogs in VS.

We're particularly interested in the former because we think it might be a good extensibility point for those actions. If you can invoke and process output from PowerShell, you can do any of the queries/reports/actions we've implemented as a commandlet. Is that something you'd be interested in?

Registered users can grab the updated RC1 of PowerShell here.

 

If you want to destroy my sweater...