register-scheduledjob vs register-scheduledtask
So, an activity run as a Scheduled Task is anything you can run from
command prompt (eg. .EXE, .BAT, .COM, .CMD etc. - nothing PowerShell-ish,
unless you decide to start powershell.exe and give it some
script name to execute.
Yet, you can control all of that from PowerShell.
On the other hand, Scheduled Job is exclusively PowerShell code
(be it script block or script file) that PowerShell registers with
Windows Task Scheduler, and Windows Task Scheduler knows how to
activate it. Method of repetitive activation is in both cases the same
("triggers").