Share via


Profiles Command

You can use the profiles command to display information about the login profiles that are saved on your local computer.

Required Permissions

No Team Foundation Server permissions are required because profiles are all stored locally on the computer where you run the Cross-platform Command-Line Client for Team Foundation Server, in your home directory.

tf profiles [-format:{brief|detailed|xml}]

Parameters

Option

Description

-format

Specifies the format in which you want the output to appear. You can specify the following formats:

  • brief – provides a list that displays the profile name, user, server name, HTTP proxy, and Team Foundation Server Proxy for each profile. This is the default if you do not specify a format.

  • detailed – provides a detailed list of properties for each profile. This list includes the data type for each property and lists properties that do not appear in the brief list.

  • xml – provides the detailed information in XML format. You can redirect the output to a file.

Remarks

You can use the profile command to create, modify, and delete profiles from your local computer. For more information, see Profile Command.

You can redirect the output by using | or > in order to save it in a file or pass it to another program for post-processing.

Examples

The following example displays a brief listing of the profiles on your local computer:

tf profiles

The following example displays a detailed listing of the profiles on your local computer:

tf profiles -format:detailed

The following example redirects the XML output to a file:

tf profiles -format:xml >MyProfiles.xml

See Also

Other Resources

Command-line Reference (Team Explorer Everywhere)