Sunday, April 19, 2015

Delete custom Timer job in SharePoint using powershell

Introduction

Everyone is experiencing the situation to delete the timer job from CA. Here, i am providing an example to delete it using powershell command.

Get-TimerJob | where { $_.name -like "*your timer job name*" } | ft id,name

This command will give the ID and Name of the Timer job. Then, we may proceed delete command with timer job id.

$job = Get-SpTimerJob -id Your timer job id
$job.delete()

Timer job will be deleted from SharePoint farm.





Note: Restart the SPTimer service and IIS for safer side.

No comments:

Post a Comment