I deleted the job-delete-timer-job-history accidentally and even the job definition wont show up now.

what is the easiest method to re create/undelete the job without any downtime.


1 Answer 1


This is farm scoped Timer job, so you need to run the below command in order to get deleted job back.

$farm = Get-SPFarm

But if you have the Web app target jobs then run the below one.

$w = Get-SPWebApplication https://mywebapplication
  • if thats work then please marked as answer for other benfits...:)\
    – Waqas Sarwar MVP
    Jun 22, 2015 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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