glexport
Use the glexport command-line utility to export an XML definition for global lists from Team Foundation Server. You can also use this command to display an XML definition.
The glexport command-line utility is located in <drive >\Program Files\Visual Studio8\Common7\IDE on Team Explorer client computer.
glexport [/f filename] /t tfs [/e encodingname]
Parameters
| Parameter | Description | ||
|---|---|---|---|
| /f filename | The XML destination file to which all global lists on the Team Foundation server will be exported. If you omit this parameter, the XML is exported to the server's display.
| ||
| /t tfs | The computer name of the Team Foundation server to which the global lists are to be exported, or a fully specified URL for a Team Foundation server. | ||
| /e encodingname | The name of a .NET Framework 2.0 encoding format. The specified encoding will be used to export the global lists XML. By default, if this argument is not specified, glexport uses UTF-8 encoding. | ||
| /? | Displays the glexport context help. |
The following example exports the global lists mygloballists from the Team Foundation server named AdventureWorksServer to the file named mygloballists.xml. This example exports the global lists using the default UTF-8 encoding.
>glexport /f mygloballists.xml /t AdventureWorksServer
The following example shows how to use a URL instead of a Team Foundation server name. The example exports the global lists using the default UTF-8 encoding and the default 8080 port configuration.
>glexport /f mygloballists.xml /t http://TFS:8080
The following example exports the global lists using Unicode (UTF-7) encoding.
>glexport /f mygloballists.xml /t AdventureWorksServer /e utf-7
The following example exports the global lists to the display instead of to a file. The example exports the global lists using the default UTF-8 encoding and the default 8080 port configuration.
>glexport /t http://TFS:8080
Note