Contact Info

Crumbtrail

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

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

Enable-JobTrigger

Short description
Enables the job triggers of scheduled jobs

Syntax
Enable-JobTrigger [-InputObject] <ScheduledJobTrigger[]> [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The Enable-JobTrigger cmdlet re-enables job triggers of scheduled jobs, such as those that were disabled by using the D
isable-JobTrigger cmdlet. Enabled and re-enabled job triggers can start scheduled jobs immediately; there is no need to
 restart Windows or Windows PowerShell.


To use this cmdlet, use the  Get-JobTrigger cmdlet to get the job triggers. Then pipe the job triggers to Enable-JobTri
gger or use its InputObject parameter.


To enable a job trigger, the Enable-JobTrigger cmdlet sets the Enabled property of the job trigger to True ($true).


Enable-ScheduledJob is one of a collection of job scheduling cmdlets in the PSScheduledJob module that is included in W
indows 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.