You can call a scheduled task manually by name using the schtasks command, like so:
schtasks /run /TN "your task name"
I'm not sure if that's what you mean by ID, but the only way to uniquely identify a task in the Task Scheduler (that I know of) is by name.
You can do just about anything with the schtasks command. Full documentation is on Microsoft's website here.