Running task sequence

Dear all,

does anyone know whether it is possible to run a task sequence from the API directly? Or is the only solution to run each task individually? Similarily, is there a command to run all tasks or the task sequence defined by default for a template?

Thanks for your support.


Regards,

Laurent