Disable a Timer Job


Scenario/Problem: You want to disable a specific timer job.


Solution: Use the Disable-SPTimerJob cmdlet.

To disable a timer job, execute the Disable-SPTimerJob cmdlet with the Identity of the timer job or a timer job variable. Listing 4.25 shows a sample command line.

Listing 4.25. Disabling a Timer Job


$timerJob = Get-SPTimerJob -Identity "DocIDEnable"
Disable-SPTimerJob $timerJob


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.21.5