Powershell script to enumerate Folders/Items within a TFS Project
Hi, Recently I had a requirement to enumerate folders/Items within a TFS project. The below is the powershell script I used to achieve it. $url = "http://tfsserver:8080/tfs" $folders = Invoke-RestMethod -Uri "$url/CodePortal/QuickWinProjects/_apis/tfvc/items" -Method Get -UseDefaultCredentials -ContentType application/json $folders.value.ForEach({ Write-Host $_.path })