You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following commands don't add the -randomdelay value to the trigger.
$triggers += New-ScheduledTaskTrigger -AtLogOn -RandomDelay $timespan
$triggers += New-ScheduledTaskTrigger -AtStartup -RandomDelay $timespan
The following commands don't add the -randomdelay value to the trigger.
$triggers += New-ScheduledTaskTrigger -AtLogOn -RandomDelay $timespan
$triggers += New-ScheduledTaskTrigger -AtStartup -RandomDelay $timespan
Should be:
$triggers += New-JobTrigger -AtLogOn -RandomDelay $timespan
$triggers += New-JobTrigger -AtStartup -RandomDelay $timespan
The text was updated successfully, but these errors were encountered: