After creating a Team Project in Team Foundation Server, one of the tasks that we are supposed to do is configure the checkin policies. Whilst this is not a difficult task, it easily becomes a very boring task and time consuming task (specially if you configure the code analysis rules).
It is quite common that all projects share the same (or at least a common base) code analysis rules (specially if you have a company/division/department/whatever wide policy regarding code conventions).
We have developed a command line tool called Copy Checkin Policies, that allows you to easily copy checkin policies from one project into another (not only the policies, but also it's specific configurations).
It can be as simple as calling
C:\copycheckinpolicies TFS_Srv1 UI_Library Utils
This would copy the define checkin policies from the UI_Library team project into the Utils team project (forgive the real lousy fictional project names :-)), it is that simple.
To use this tool you only need to TFS client libs installed. So you sould have (at least) Team Explorer installed and have the permissions to change checkin policies on the target project (and to read them in the source project). If you have permissions to do this manually on Team Explorer then you have permissions to do it in the command line.
Feedback is appreciated at (tfstools [AT] @ agilior.pt)
The use of this tool is totally free. :-)
You can download it in our TFS Utilities page at no cost.
Time permitting we will be releasing other internal tools we have developed for TFS.