TFS Workspace (Workspaces) command

Source: Internet
Author: User

Workspaces command

TF workspaces [/owner:ownername] [/computer:computername]

[/server:servername] [/format: (brief|detailed)]

[/updateusername:oldusername] [/updatecomputername:oldcomputername]

WorkspaceName

TF workspaces/remove: (*|workspace1[,workspace2,...])

/server: (*|server)

Parameters

Parameters

Description

OwnerName

Provides values to the /owner option. Specify "*" to match any user-created workspace.

ComputerName

Provides values to the /computer option. Specify "*" to match the workspace on any computer.

ServerName

Provides values to the /server option. For example: TeamServer2.

WorkspaceName

Specifies the name of the workspace for which you want to display related information. If workspacename is not specified, information about all workspaces in the server is displayed. You can also use the "*" wildcard character to display information about all workspaces in a server.

Oldusername

Provide the old user name for the /updateusername option.

OldComputerName

Provide the old computer name for the /updatecomputername option.

Options

Description

/owner

Specifies the name of the user who created the workspace. If the owner is not specified, Team Foundation returns only information about the workspace that is part of the current user.

/computer

Specifies the name of the client computer that is used to filter the list of server workspaces. If you do not specify a computer, Team Foundation returns only information about the workspace on the current computer.

/server

Specifies the name of the Team Foundation Server that is used to filter the list of specified workspaces. If servername is not provided, Team Foundation returns information about the workspaces on all known Team Foundation servers that use the local cache file.

/format

Specifies the format of the workspace information. Brief Returns the workspace information, but does not return a mapping. detailed also returns the workspace information and mappings. The verbose format can only be used when the /server option is specified. Brief is the default value.

/updateusername

Updates the security identity information on the Team Foundation server for users who have changed the network user name. If you specify this option, you must also specify a server by using the /server option.

/updatecomputername

Instructs Team Foundation to update its table to reflect changes in the client computer name. If you specify this option, you must also specify a server by using the /server option.

/remove

Removes the specified workspace item from the client cache for the specified server.

TFS Workspace (Workspaces) command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.