Are 'Scheduled Job" and "Scheduled Task" the same thing in Powershell context?

pencilCake

I am trying to create a scheduled task from Powershell.

I was readin the document for cmdlet: New-ScheduledJobOption.

And I am a bit confused...

Question: Are 'Scheduled Job" and "Scheduled Task" the same thing in Powershell context? Or there is a difference?

Jason Morgan

So just to put an actual answer out there, in addition to the article Valamus put out:

In a PowerShell context Scheduled Jobs and Scheduled Tasks are not the same thing. From a task scheduler perspective they are exactly the same thing.

The PowerShell team provided a toolset for creating a special type of job that would be stored in the Task scheduler library. The Scheduled Jobs cmdlets will not allow you to interact with regular scheduled tasks. The Task Scheduler will let you interact with regular tasks and scheduled jobs interchangeably.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Related Related

HotTag

Archive