Follow Us:
First I want to be clear that I am not what you would call “a developer”, but as I work with SharePoint I use Visual Studio from time to time. That also means you likely use TFS (Team Foundation Server).
Whether you have full-time or contractors, it’s important to ensure that developers are properly checking in their code. So how can you get a report of all of the files that are checked out in your solutions?
There are two quick and easy ways to get a report of all the files checked out from your TFS server. Now the title says TFS 2010, but this applies to newer versions as well.
The first and built-in method to do this isn’t in Visual Studio, but via a command-line utility called tf.exe. It’s located on the TFS server at:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Tf.exe (32-bit)
It might be already be in your PATH environment variable, otherwise you can add it. You can review the options for the command you need on MSDN. Here is the command that I ran:
Tf.exe status /collection:"<project collection URL>" /user:* /recursive > projectcollection.txt
You can be like all the new kids who didn’t grow up running emm386 (look it up) who don’t know what command-line is and use the interface. However, when I said “interface” I mean you have to install an add-on called TFS Power Tools. The version depends on your version of Visual Studio / TFS.
Once installed, it adds a new option in the Find menu. One huge benefit to using the Power Tools is that you can bulk check-in or undo check-out right from the checked-out files list. To find a list of checked out files:
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
Request Download
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.