New-ScheduledTaskTrigger: The parameter set cannot be resolved using the specified named parameters.
No line: 5 characters: 6
+ $ T = New-ScheduledTaskTrigger -Daily -RepetitionInterval $ hourly -Re ...
Not sure as to what exactly you want to accomplish. Perhaps remove -Daily and execute them hourly? You could take a look at the new-scheduledtasktrigger examples and see if anything matches your goal.