Work Item Query Administration (wiqadmin) is command-line utility to manage work item queries in Team Foundation Server.Supported commands
The following commands are supported for TFS 2008, TFS 2010 and TFS 2012 (full documentation can be found on the documentation tab
- list queries.
- export a query.
- import a query.
- rename a query (and/or move under TFS 2010 and TFS 2012).
- delete a query (or a folder under TFS 2010 and TFS 2012).
- copy a query (or a folder under TFS 2010 and TFS 2012). - New, supports recursion, multiple collections
Query folder are supported under TFS 2010 and TFS 2012 as shown in the following screenshot displaying the list of queries:Usage
You can use wiqadmin to directly administer your queries without having to use TeamExplorer. Since wiqadmin is a command-line utility, it can be used in batch files when you need such a file to make a custom update on a TeamProject (work item types and queries for example) and be able to execute it in your different environment (Dev, PreProd, Prod).