ScheduledTask: Delay parameter applicability #345
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring
According to documentation:
Is there a specific reason why Delay is only applicable to OnEvent ScheduleType?
Because while creating task in GUI, this parameter is applicable to every ScheduleType except
OnIdle
(where it is disabled, for obvious reasons) andOn a schedule
(where it is replaced by RandomDelay)In my experience creating tasks with ScheduleType = AtStartup and AtLogon is a very common scenario, but setting delay for such tasks is currently not supported by the dsc resource.
Suggested solution to the issue
Delay parameter has to be applicable to ScheduleTypes
AtStartup
,AtLogon
and other types to match behavior of GUI Task Scheduler editor.The text was updated successfully, but these errors were encountered: