I'm trying to edit scheduled tasks through the COM object, but somehow it seems to be a little stubborn when i'm doing anything other than just reading. $TaskRootFolder = "\myFolder" $oTaskSchedule = ObjCreate("Schedule.Service") $oTaskSchedule.connect() $oRootFolder = $oTaskSchedule.GetFolder($TaskRootFolder) If IsObj($oRootFolder) then $oTaskDefinition = $oRootFolder.GetTasks(0) $NumTasks = $oTaskDefinition.count ConsoleWrite($NumTasks & " tasks found in " & $TaskRootFolder &