Thursday, January 29, 2015

TFS Wildcards in Workspaces Command

A user wanted to know how to list all of a certain users workspaces across all machines without having to install TFS Sidekicks.  It is a simple command and you can use the * wildcard for the owner or computer.
tf workspaces /owner:UserName /computer:* /collection:TFSURLIncludingCollection
This will produce a nicely formatted list of workspaces for that user.  This could be used in a script to delete workspaces for a user but with Sidekicks around that is my preferred option as an administrator.
del.icio.us Tags: ,

No comments:

Post a Comment