Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a PowerShell cmdlet to delete a Timer Job in SharePoint 2010?

share|improve this question
add comment

2 Answers 2

I don't have a spare timer job to test this with currently, but this should work, replacing mysitecleanup with the name of your timer job.

$jobToDelete = Get-SPTimerJob | ? { $_.name -eq "mysitecleanup" }
$jobToDelete.Delete()
share|improve this answer
add comment

You can use the Get-SPTimerJob cmdlet, and possibly delete from there. Check out Delete timer jobs for a trick on removing a job...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.