Well, Pablo aroused my interest in saying that the scheduler is available through COM.
In PowerShell, you can do this:
$svc = new-object -com Schedule.Service
... and this gives you an idea of the task scheduler. You can see which members it has:
$svc | get-member
One of its methods is NewTask, so I started there.
Edit: Another information here . This is an example of VBScript, but it will give you the gist.
source
share