Various PowerShell scripts

<Copying this post almost directly from James, but the scripts are my own. See his blog for more TFS scripts.> 

This page just gives me a place to keep a most-recent-copy of my various PowerShell scripts, mostly related to Team Build.  This makes it easier for people that want to use them than having to copy-paste from lots of different blog posts.


  • Get-BuildServer.ps1 - given a TFS server name, it returns an instance of IBuildServer (Orcas only)
  • Get-BuildsForChangeset.ps1 - given a TFS server name, team project, and changeset number, it returns a list of all builds that included that changeset (Orcas only)
  • (more to come)


  • 2007-03-29: initial posting