To export the TmSheet summary, it's best if it's previously defined as a project export. Then the command line is fairly straightforward.
"C:\Program Files\Monarch\Program\Monarch.exe" /prj:"C:\Program Files\Monarch\Projects\TR_Actual_Hours.xprj" /px:"TmSheet" /code
Yes, you can use multiple defined exports within a single command line, such as:
Alternatively, you can run all of the defined exports with /pxall.
While it is possible to export the default summary (using /S /exptable: ), I find it to be a bit a of dangerous game as that relies upon the model and project being saved with a particular summary activated. All well and good when only one summary exists, but it's probably a better practice to take the extra time to define a project export, and then call it via the command line as necessary.
Also, the process of defining a project export ensures that you've got great control of the process, rather than trying to get all of the various available export switches correct, like expfileopt and exptable and the like, which I find confusing if I haven't done it for awhile. All of which was the inspiration for my Monarch Batch File Generator.