Command line tool for Work Item Queries

Problem I need to script my work item query administation. Solution Use the Work Item Query Administration tool from CodePlex http://wiqadmin.codeplex.com/ Examples This will list out all the queries and the paths you need to export them wiqadmin list /collection:http://MytfsUrl:8080/tfs/defaultcollection /p:MyProject /recursiveThis is how you can export one once you know the path. Make sure you use “ on the path wiqadmin export /collection:http://MytfsUrl:8080/tfs/defaultcollection /p:MyProject /n:"Team Queries/Iteration 1/Active Bugs" /f:bugs.wiql

Where in the world is WorkItemChangedEvent defined?

Problem: I am not asked to write TFS Event Handler web services very often and I can never remember where WorkItemChangedEvent is defined.  I spend more time searching for that missing reference than I do writing the code. Solution: For TFS 2010 WorkItemChangedEvent is in C:\Program Files\Microsoft Team Foundation Server 2010\Tools\Plugins\Microsoft.TeamFoundation.WorkItemTracking.Server.Dataaccesslayer.dll.