Sunny
Sunny

Reputation: 952

Save TFS history on local machine

We need the entire TFS history to be exported to single/multiple file/s. In there any way to do this without using any third party tools.

Is there any option in the TFS Team Explorer or Administration page to export entire change history by user name? If not , then what is the easiest solution.

Upvotes: 0

Views: 225

Answers (1)

ds19
ds19

Reputation: 3175

You can use TFS PowerShell cmdlets to query the history of a specific source control folder and to filter it by a specific username then download the fiels from those changesets.

Get-TfsItemHistory "$/" -recurse -user "username" | % { Get-TfsChangeset $_.Changesetid}

Upvotes: 2

Related Questions