Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Enable-ScheduledJob

Enable-ScheduledJob - 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
Enables a scheduled job

Enable-ScheduledJob [-InputObject] <ScheduledJobDefinition> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Enable-ScheduledJob [-Id] <Int32> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Enable-ScheduledJob [-Name] <String> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]

The Enable-ScheduledJob cmdlet re-enables scheduled jobs that are disabled, such as those that are disabled by using th
e Disable-ScheduledJob cmdlet. Enabled jobs run automatically when triggered.

To enable a scheduled job, the Enable-ScheduledJob cmdlet sets the Enabled property of the scheduled job to True ($true

Enabled-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 is introduced in Windows PowerShell 3.0.