TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'Tools and Utilities'

How to change update frequency of the TFS warehouse/cube

June 13th, 2011 · No Comments · TFS Reporting, Tools and Utilities

By default TFS 2010 updates its warehouse every 2 hours. You can change the frequency by running the WarehouseControlService SOAP webservice, as explained in this article. Furthermore the webservice exploses some more settings as well. To force the warehouse to update immediately, you can use the TfsRefreshWarehouse tool. To make it easier to change the […]

[Read more →]

Tags:

Creating Fake builds in TFS Build 2010 using the command line

April 26th, 2011 · No Comments · Team Foundation Build (TF Build), TFS 2010, Tools and Utilities

In TFS it’s possible to create “faked” builds, without actually running them. You can read about it in this blog post by Jason Prickett. Main scenarios are: Using a different build tool than TFS Build (by creating faked builds will let you use some of the great TFS features). Creating sample data to show off […]

[Read more →]

Tags:

Enriching your Work Item Descriptions by Moving them to a HTML field

March 22nd, 2011 · No Comments · Tools and Utilities, Work Item Customization

In the Visual Studio Scrum 1.0 process template (and most likely in future process templates), Microsoft is using HTML fields with rich formatting for the work item description fields. In VS Scrum 1.0… Product Backlog Items and Tasks are using Microsoft.VSTS.Common.DescriptionHtml. Bugs are using Microsoft.VSTS.TCM.ReproSteps instead. You can customize your current process template and add […]

[Read more →]

Tags:

Refresh TFS Warehouse, Cube and Reports on demand

March 18th, 2011 · 4 Comments · TFS Reporting, Tools and Utilities

By default, TFS will process it’s Data Warehouse and Analysis Services Cube (and thus update the data for the reports) every 2 hours. You can change the default frequency or manually invoke cube processing, if needed. Be careful with changing it to lower values than every hour: Important If you reduce the interval to less […]

[Read more →]

Tags:

Download files from TFS version control and set the file last access timestamp to the file’s last check-in time

March 14th, 2011 · 10 Comments · Team Foundation Version Control, Tools and Utilities

Often I hear the following questions about TFS version control: Can I just download files or folders from TFS without having to create a workspace? Can I specify that files do not have the read-only attribute set? Can I configure that files show the last check-in time as last write time? Can can I “export” […]

[Read more →]

Tags:

Clean old and unused workspaces and shelves from your TFS

March 3rd, 2011 · 6 Comments · Team Foundation Version Control, TFS Administration, Tools and Utilities

The command line utility “tfsclean.exe” helps  with two scenarios: You want to find and delete old worspaces and shelvesets (oder than XX days). You want to find and delete workspaces and shevlesets from a certain user (e.g. when the user left the company) Caution: There’s no way to recover a shelveset once it is deleted. […]

[Read more →]

Tags:

How to ping TFS to see if it’s up and running

March 2nd, 2011 · 2 Comments · TFS 2010, TFS Administration, Tools and Utilities

The command line: pingtfs.exe /server:http://myserver:8080/tfs (Note: pingtfs.exe will return an exit code of 0 if the ping succeeded, otherwise it will return an exit code other than zero.) Download the tool from here: PingTFS.exe (.ZIP, 7,45 KB)

[Read more →]

Tags:

Changing the state of multiple work items (command line)

February 27th, 2011 · No Comments · TFS Work Item Tracking, Tools and Utilities

Using the Team Foundation Power Tools (TFPT) you can… 1. Query work items using the command line: tfpt query /format:id /wiql:”SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = ‘MyProject‘  AND  [System.WorkItemType] = ‘Bug‘  AND  [System.State] = ‘Active‘  AND  [System.Reason] = ‘New‘” /collection:http://servername:8080/tfs 2. And by adding the pipe command you can change the work items returned […]

[Read more →]

Tags:

Force TFS to sync with Active Directory

February 17th, 2011 · 5 Comments · TFS 2010, TFS Administration, Tools and Utilities, Troubleshooting TFS

Changes you make to local or Active Directory groups do not get reflected in TFS immediately. Instead, TFS will synchronize those groups regularly (by default every hour). Known workarounds: You can re-add the security group in TFS, this will trigger a identity synchronization.  In TFS 2005/2008: you could restart IIS or the TFS App Pool […]

[Read more →]

Tags:

Change notification delay setting in TFS 2010

February 1st, 2011 · 2 Comments · Team Foundation Server, TFS 2010, TFS Administration, Tools and Utilities

As you probably noticed or know already, TFS 2010 by default delays all notifications (aka project alerts) by 2 minutes (as explained here). You can change the default by setting the following key in the TFS registry (not the Windows Registry on the TFS server) to the desired number of seconds (0 = no delay, […]

[Read more →]

Tags: