Thursday, July 13, 2017

Deleting folders permanently from TFS .......

So you are an Admin and the team request you to delete folders from your tfs teamproject repository.

- Requisites :
  - You need to be team project administrator

tf vc destroy [/keephistory] itemspec1 [;versionspec]
              [itemspec2...itemspecN] [/stopat:versionspec] [/preview]
              [/startcleanup] [/noprompt] [/silent]
              [/login:username,[password]]
              [/collection:TeamProjectCollectionUrl]

tf vc destroy $/ProjectRepo/main2017 /collection:https://TFSSERVERURL/tfs/SAMPLEcollection   /noprompt /silent

No comments:

Post a Comment