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:
|
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