Share via


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.

Note

If you are running Windows Vista, you might not have access rights to certain folders. If you try to export the global list to a location where you do not have access rights, the registry virtualization technology automatically redirects the exported file and saves it to the virtual store. For more information, see https://go.microsoft.com/fwlink/?LinkId=92325 and https://go.microsoft.com/fwlink/?LinkId=92323. To avoid this redirection, you can export the file to a location where you have access rights.

/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.

Examples

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 https://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 https://TFS:8080

See Also

Tasks

How to: Use a Global List

Reference

glimport
witimport
witexport
witfields