Thursday 10 October 2013

Deleting Custom Timer Job Using Power shell


About Timer Job:

A timer job runs in a specific Windows service for SharePoint 2010. Timer jobs perform tasks for the Timer service, such as clearing the timer job history and recycling the Timer service. Timer jobs also perform tasks for web applications, such as sending email alerts.

Power Shell Command:
Find timer job ID by Timer_Job_Name using command. 

Get-SPTimerJob | where { $_.name -like "*Timer_Job_Name*" } |ft id,name


Then you will get ID of Timer Job.


Then Set job to a variable
$job = Get-SPTimerJob -id <GUID>

And delete it.
$job.Delete()



and It's Done...!!!!



No comments:

Post a Comment