Here is a quick command line reference on how to schedule the Team Build process in Team Foundation Server for your nightly or continuous builds. 

http://msdn2.microsoft.com/en-us/library/ms181742.aspx

The syntax is:

TFSBuild start Teamfoundationserver TeamProject BuildType [/machine:buildmachine] [/builddirectory:builddirectory]

Below is an example:

TFSBuild start http://server01:8080 AdventureWorks Nightlies /machine:Machine1 /builddirectory:BuildDrop