Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Remove-JobTrigger

Remove-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 »


Short description
Delete job triggers from scheduled jobs

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

The Remove-JobTrigger cmdlet deletes job triggers from scheduled jobs.

A "job trigger" defines a recurring schedule or conditions for starting a scheduled job. To manage job triggers, use th
e New-JobTrigger, Add-JobTrigger, Set-JobTrigger, and Set-ScheduledJob cmdlets.

Use the Name, ID, or InputObject parameters of Remove-JobTrigger to identify the scheduled jobs from which the triggers
 are removed. Use the TriggerID parameter of Remove-JobTrigger to identify the job triggers to delete. By default, Remo
ve-JobTrigger deletes all job triggers of a scheduled job.

Remove-JobTrigger is one of a collection of job scheduling cmdlets in the PSScheduledJob module that is included in Win
dows 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.