CmdID

CmdID / PowerShell / Cmdlets / Get

Get-ScheduledJob

Gets scheduled jobs on the local computer. PowerShell reference

From the PowerShell reference 2 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Gets scheduled jobs on the local computer. The Get-ScheduledJob cmdlet gets scheduled jobs on the local computer. Get-ScheduledJob gets only scheduled jobs that are created by the current user using the Register-ScheduledJob cmdlet. Although jobs that are created by using the Register-ScheduledJob cmdlet appear in Task Scheduler, Get-ScheduledJob gets only scheduled jobs. It does not get scheduled tasks created in Task Scheduler. Without parameters, Get-ScheduledJob gets all scheduled jobs on the computer. You can use the parameters of Get-ScheduledJob to get scheduled jobs by ID or name and examine them or pipe them to other cmdlets. Get-ScheduledJob is one of a collection of job scheduling cmdlets in the PSScheduledJob module that is included in Windows PowerShell. For more information about Scheduled Jobs, see the About topics in the PSScheduledJob module. Import the PSScheduledJob module and then type: Get-Help about_Scheduled* or see about_Scheduled_Jobs. This cmdlet was introduced in Windows PowerShell 3.0.

Get-ScheduledJob [[-Id] <Int32[]>] [<CommonParameters>]
Get-ScheduledJob [-Name] <String[]> [<CommonParameters>]

Get all scheduled jobs

Get-ScheduledJobIdentify

Get scheduled jobs by name

Get-ScheduledJob -Name Backup, ArchiveIdentify

Get scheduled jobs on remote computers

Invoke-Command -ComputerName (Get-Content Servers.txt) {Get-ScheduledJob}Identify

Pipe scheduled jobs to other cmdlets

Get-ScheduledJob DailyBackup, WeeklyBackup | Get-JobTriggerIdentify

Its page in the reference: Get-ScheduledJob.

Parameters

2 in the PowerShell reference
-IdGets only the scheduled jobs with the specified identification number (ID). Enter one or more IDs of scheduled jobs on the computer. By default, Get-ScheduledJob gets all scheduled jobs on the computer.
-NameGets only the scheduled jobs with the specified names. Enter one or more names of scheduled jobs on the computer. Wildcards are supported. By default, Get-ScheduledJob gets all scheduled jobs on the computer.