Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to get all checkout files and names in TFS 2010

Posted on 2014-03-18
3
Medium Priority
?
3,103 Views
Last Modified: 2014-03-24
I have team foundation server 2010 on a standalone server. I can connect to the server remotely via Visual Studio 2012 Team Explorer. I'm trying to migrate TFS 2010 to TFS 2012 to a new hardware and want to know what are all the checked out files and the person checked out to.

I ran this command from visual studio command window

tf status $/MyFolder /user:* /recursive > c:\MyPendingCheckouts.txt


I'm getting message saying "Unable to determine source control server". How do I connect to my tfs server from the above command?

Are there any other ways to get this information easily..
0
Comment
Question by:bujjigadu
3 Comments
 
LVL 13

Assisted Solution

by:duncanb7
duncanb7 earned 456 total points
ID: 39939205
On  Team Explorer in VS right click  server name and select properties, you need to enter  entire URL parameter including http,  port number,  for example,

http://devserver:8080/tfs/defaultcollection

so for  the command is just

tf workspaces /collection:"http://devserver:8080/tfs/defaultcollection"

that may solve the issue of  "Unable to determine source control server"

If still not working, try to alternative to tf command, try to install , TFS 2010 power tools,
http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f

You can then right click on any folder in Source Control Explorer and select "Find in source control" > "Status"

the default option is to find all checked out files in the path you have selected

Hope understand your question completely, if not, please pt it out

Duncan
0
 
LVL 25

Accepted Solution

by:
apeter earned 459 total points
ID: 39939223
have the "Team Foundation Server 2010 Power Tools" installed.  You can then open Source Control Explorer and navigate ‘Find in Source Control’ > ‘Status…’  . This enables you to get a list of list of checkout files or per user level.
0
 

Author Closing Comment

by:bujjigadu
ID: 39950600
Resolved
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Loops Section Overview

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question