Friday, August 9, 2013

Delete SharePoint Timer Job using PowerShell

Below PowerShell script can be used to delete the Timer Jobs deployed in SharePoint.

Give the Timer Job name as input for your search.
  • Searching listing and find Timer job GUID to delete it .
                       Get-SPTimerJob | where { $ -like “*<your search criteria>*” } |ft id,name
  • Get the Timer job Object using the GUID we got in the previous command result and Set job to a variable
                     $job = Get-SPTimerJob -id <GUID>
  • And call the Delete() method to the Delete the timer job.
Related Posts Plugin for WordPress, Blogger...