Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Disable-ScheduledJob

Disable-ScheduledJob - Powershell 4.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 »

Disable-ScheduledJob

Short description
Disables a scheduled job

Syntax


Description
The Disable-ScheduledJob cmdlet temporarily disables scheduled jobs. Disabling preserves all job properties and does 
not disable the job triggers, but it prevents the scheduled jobs from starting automatically when triggered. You can 
start a disabled scheduled job by using the Start-Job cmdlet or use a disabled scheduled job as a template.


To disable a scheduled job, the Disable-ScheduledJob cmdlet sets the Enabled property of the scheduled job to False 
($false). To re-enable the scheduled job, use the Enable-ScheduledJob cmdlet.


Disable-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.