I use TFS 2008 in a company.
How can I get list of files from a TFS changeset using Microsoft.TeamFoundation.Client
and Powershell
?
My script:
Add-Type -Path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.VersionControl.Client.dll"
Add-Type -Path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll"
Add-Type -Path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Client.dll"
References:
https://gallery.technet.microsoft.com/scriptcenter/Export-Foundation-Server-b664c8ce
Maybe using
VersionControlServer