Archive for the ‘TFS’ Category

Delete a TFS task

April 13, 2012

Simply i was trying to create a sample task in TFS, its done successfully. Then tried to delete from there as it is a live one , and everybody would be looking into it. But, searching the options in TFS for long, i felt tired and┬ánervousness. Finally, started googling and got few forums with no direct stuffs told. So thought of giving the stuff simple and humble ­čÖé

First of all, we need the exe file Witadmin.exe for deleting the tasks in TFS.

Where it resides? – ┬áC:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE ┬á(you have to check the folder, depending upon the system type you have)

Initially, I was searching underneath C:\Program Files (x86)\Microsoft Team Foundation Server 2010 Power Tools, and got confused.

Here is the list of available commands with Witadmin:

Possible options:

So, finally, your command would look like…

>witadmin destroywi /Collection:http://%5BServerName%5D:8080/tfs/id:%5BId%5D

Note: Text kept inside “[]” differs as its provided to you. Also provided the permission to delete ­čśë

Hope, this helps! ­čÖé

Advertisements