Creating Task With a Batch File - run task as soon as possible if missed
There is no command line option for this. One workaround is to create the tasks with that option, using the GUI, then export it to an XML file. Then you can run it with
schtasks /create /TN "New Task" /xml "C:\TEMP\New Task.xml" /RU DOMAIN\username /RP password
Powershell to rescue, use -StartWhenAvailable
Set-ScheduledTask `
-TaskName $TaskName `
-TaskPath $TaskPath `
-Trigger $(New-ScheduledTaskTrigger -At "01.01.2018 05:00:00" -DaysOfWeek $day -Weekly -Verbose) `
-Settings $(New-ScheduledTaskSettingsSet -StartWhenAvailable -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries)