Skip to content

Register-ScheduledTask — by Microsoft Learn

advancedpageLink only (©)

Reference for creating a Windows scheduled task from PowerShell by combining New-ScheduledTaskAction and New-ScheduledTaskTrigger with Register-ScheduledTask. It lists parameter limits (up to 32 actions and 48 triggers) and the Principal and RunLevel options for choosing the account and privilege level.

Read the full article on learn.microsoft.com

Source: Register-ScheduledTask by Microsoft Learn. Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

scheduled taskspowershelltask schedulerwindows

More in Scheduling (Task Scheduler, launchd, cron)

Run bash (.sh) via launchd using a plist in /Library/LaunchAgents — by VikingOSX and etresoft on Apple Community

intermediateforum

VikingOSX shows a working LaunchAgent for a shell script: plist in ~/Library/LaunchAgents with 644 permissions, Label, RunAtLoad, StartInterval and full paths only. The original poster got theirs working after moving the script out of ~/Documents, and etresoft points to privacy permissions instead, noting shell scripts silently fail without Full Disk Access.