Displays information about workspaces in the system and updates cached information about a user name or computer name change ...

Displays information about workspaces in the system and updates cached
information about a user name or computer name change on the Team Foundation
Server.

tf workspaces [/owner:ownername] [/computer:computername]
              [/collection:TeamProjectCollectionUrl]
              [/format:(brief|detailed)] [/updateUserName:oldUserName]
              [/updateComputerName:oldComputerName] [workspacename]
              [/login:username,[password]]

tf workspaces /remove:(*|workspace1[,workspace2,...])
              /collection:(*|TeamProjectCollectionUrl)
              [/login:username,[password]]