Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-JobTrigger

Get-JobTrigger - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-JobTrigger

Short description
Gets the job triggers of scheduled jobs.

Syntax
Get-JobTrigger [-InputObject] <ScheduledJobDefinition> [[-TriggerId] <Int32[]>] [<CommonParameters>]
Get-JobTrigger [-Id] <Int32> [[-TriggerId] <Int32[]>] [<CommonParameters>]
Get-JobTrigger [-Name] <String> [[-TriggerId] <Int32[]>] [<CommonParameters>]





Description
The Get-JobTrigger cmdlet gets the job triggers of scheduled jobs. You can use this command to examine the job triggers
 or to pipe the job triggers to other cmdlets.


A "job trigger" defines a recurring schedule or conditions for starting a scheduled job. Job triggers are not saved to 
disk independently; they are part of a scheduled job. To get a job trigger, specify the scheduled job that the trigger 
starts.


Use the parameters of the Get-JobTrigger cmdlet to identify the scheduled jobs. You can identify the scheduled jobs by 
their names or identification numbers, or by entering or piping  ScheduledJob objects, such as the those that are retur
ned by the Get-ScheduledJob cmdlet, to Get-JobTrigger.


Get-JobTrigger is one of a collection of job scheduling cmdlets in the PSScheduledJob module that is included in Window
s 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 is introduced in Windows PowerShell 3.0.