This is a collection of tools & scripts that I’ve written and made available on my blog for anybody to use and modify for their own use.
TFS Bug Snapper 17/06/2006
This is a simple tool that allows you to take a screenshot and create a Team Foundation Server work item with the image attached to it. Currently it creates a “Task” work item, because that type exists in both the MSF for Agile and MSF for CMMI process templates - but you can download the source and change it to a “Bug” work item quite easily.
TFS Performance Heat Map Reporting Services Report 5/4/2008
The TFS Performance Heat Map report allows TFS administrators, users and IT Operations staff to monitor the performance of TFS commands and answer questions like “Is CheckIn slower today than yesterday?”. Excel version available also.
<CreateGuid> MSBuild Task 4/4/2008
The <CreateGuid> MSBuild uses System.Guid.NewGuid() to create a GUID for use in an MSBuild script. You can optionally specify the Format parameter to get different formats of GUIDs.
<GenerateMsiTransform> MSBuild Task 11/3/2008
The <GenerateMsiTransform> MSBuild task generates MSI Transform (*.mst) files with updated configuration properties for a specified MSI package from an XML configuration file. This removes the need to manually create transforms using the ‘Orca’ MSI editing tool.
<QuickTestPro> MSBuild task 28/02/2008
The <QuickTestPro> MSBuild task uses the HP QuickTest Professional COM automation object to run the UI testing framework from an MSBuild script.
GenerateReleaseNotes MSBuild script 19/02/2008
This script generates a text file (e.g. ReleaseNotes.txt) from Team Build’s build log results and places it with the build output. This is useful if you want to distribute a changelog of work items & changesets along with your builds.
GenerateDocumentation MSBuild script with Sandcastle 19/02/2008
This script uses the Sandcastle Help File Builder to generate documentation for any assemblies in your build output without pre-defining a list of them in a config file.
TFS Database Restore batch script 10/02/2008
This batch script creates a .SQL file which you can use to restore the eleven TFS databases from backup files named like ‘TfsVersionControl_backup_YYYYMMDDHHmm.bak’. This saves you time as you don’t have to go through the SQL Server Management Studio user interface multiple times or hand-code the .SQL script yourself.
Unattended TFS Installation Scripts 17/07/2008
This 4-part series of blog posts describes how to automate the preparation, installation and configuration of a TFS 2005 (v1) for deployment in a Virtual Server environment. They include steps to minimise the installation time and configure the server for HTTPS/SSL without using the IIS or Certificate store user interfaces.
Retrieve Last Modified Dates from TFS 25/11/2006
This console application lists the last modified date of each file from the TFS changeset history. It was created to mimic the last modified information provided by Visual SourceSafe Explorer. You may find it useful when creating release notes for your applications.
Stop all Team Builds (TFS 2005) 25/10/2006
This utility stops all running Team Builds on a TFS server. It connects to the specified server, enumerates all the team projects, enumerates all the team build types and then sends an asynchronous stop command to the running ones.
Registry hack to stop VS2005 auto-connecting to TFS 30/08/2006
There can be a delay when Visual Studio starts and tries to auto-connect to TFS when you’re not connected to the Internet or a VPN. This registry file disabled the auto-connect behaviour of VS2005.
Import TFS Group Members from a CSV file 18/08/2006
This utility reads a CSV text file with two columns: user,groupname and places them in to TFS security groups. The groups must already exist in TFS.
List Visual SourceSafe permissions 17/08/2006
To find the permissions applied to a VSS repository, you have to inspect every folder for every user in the repository. This utility outputs the VSS folder and user permissions of a whole repository. This utility is useful if you need to migrate away from VSS and maintain the existing security structure.
Get a file from TFS without using a workspace 17/08/2006
This TFSDownloadFile.exe utility is useful if you just want to download the latest version of a file from TFS without mapping a workspace. It’s useful in deployment scripts when you store a shared config file under source control.
TFSBlame.exe 11/07/2006
This is a command-line version of the Annotate powertool that outputs the code, author and date of each line of a file. It’s useful if you want to run a daily task that emails a team an annotated file from source control for informal peer review.
List Project Areas and Area URIs 11/07/2006
This command-line utility uses the Team Foundation Server object model to connect to a server, retrieve all team projects and then retrieve all the areas and iterations. It then outputs XML to a specified file or the console. The output could then be used with tools like TFSSecurity.exe to apply area-level permissions.
Clipboard Image Monitor 20/06/2006
Clipboard Image Monitor is a small utility that sits in the system tray and watches the clipboard. If an image is copied to the clipboard this utility saves a copy to the filesystem.
SquareSpace.com to BlogML Converter 21/05/2006
This utility includes an XSLT for transforming content from SquareSpace.com’s ‘Export as XML’ feature to the blog-neutral BlogML format.
