The command in this example exports the work item type myworkitem from the AdventureWorks team project on the Team Foundation AdventureWorksServer to the file myworkitems.xml. This example exports the work item type using the default UTF-8 encoding.
>witexport /f myworkitems.xml /t AdventureWorksServer /p AdventureWorks /n myworkitem
The following example shows how to use a URL instead of a Team Foundation Server name. This example exports the work item type using the default UTF-8 encoding.
>witexport /f myworkitems.xml /t http://TFS:8080/bis/registration.asmx /p AdventureWorks /n myworkitem
The following example exports the work item using Unicode (utf-7) encoding.
>witexport /f myworkitems.xml /t AdventureWorksServer /p AdventureWorks /n myworkitem /exportgloballists
The following example exports the work item type and the referenced global lists. This example exports the work item type using the default UTF-8 encoding.
>witexport /f myworkitems.xml /t http://TFS:8080/bis/registration.asmx /p AdventureWorks /n myworkitem
The following example exports the work item type to the display instead of a file. This example exports the work item type using the default UTF-8 encoding.
>witexport /t http://TFS:8080/bis/registration.asmx /p AdventureWorks /n myworkitem