Enable a Timer Job


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


Solution: Use the Enable-SPTimerJob cmdlet.

To enable a timer job, execute the Enable-SPTimerJob cmdlet with the Identity of the timer job or a timer job variable. Listing 4.24 shows a sample command line.

Listing 4.24. Enabling a Timer Job


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


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

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