The following command displays field information for all the fields on the Team Foundation Server AdventureWorksServer.
>witfields view /s:AdventureWorksServer
The following command displays the field information for the specified field AdventureWorks.Field.
>witfields view /s:AdventureWorksServer AdventureWorks.Field
The following command displays all fields that are not being used on the Adventure Works Team Foundation Server.
>witfields view /s:AdventureWorksServer /unused
This following command changes the friendly name of the referenced field AdventureWorks.Field to NewFieldName.
>witfields rename /s:AdventureWorksServer AdventureWorks.Field NewFieldName
The following command specifies the reportability type of the DateTime field AdventureWorks.CreatedOn to dimension. This field's data enters the warehouse and cube so that it can be used to filter reports.
>witfields report /s:AdventureWorksServer AdventureWorks.CreatedOn dimension
The following command specifies the reportability type of the Double field AdventureWorks.Field to measure. All measures are aggregated by sum.
>witfields report /s:AdventureWorksServer AdventureWorks.Field measure
The following command deletes the field AdventureWorks.Field from the Team Foundation Server AdventureWorksServer.
>witfields delete /s:AdventureWorksServer AdventureWorks.Field
The following command invalidates the metadata cache for all clients on the Team Foundation Server AdventureWorksServer. The client caches are updated the next time they connect to the server.
>witfields rebuildcache /s:AdventureWorksServer
The following commands display the context help for the witfields command-line utility.
>witfields help
>witfields /?
>witfields view /?