TFS provides a command for this (and much more), witadmin
. It is located in the Common7/IDE
folder of your Visual Studio installation.
For listing fields, the command syntax should be:
witadmin listfields /collection:http://my.tfs.server/MyCollection