I need to find the jobs which are running currently. This is to check the longest running jobs. Is there any powershell sript to get this done?


here is a script which will give you some

# Get current date
$date = Get-Date

# Show current date

Write-Host "Looking for running jobs with a Last Run Time of greater than or equal to" $date

# Get all Timer jobs and iterate

Get-SPTimerJob | ForEach-Object {

  # Get last run time for job

  $lastRunTime = $_.LastRunTime

  # If run time is greater than/equal to write it out

  if ($lastRunTime -ge $date)

 Write-Host $_.Name", last run at" $_.LastRunTime



Source: http://social.technet.microsoft.com/forums/sharepoint/en-US/5b6e8096-0783-4eaa-be7d-1951e6c3bf7e/powershell-get-running-timer-jobs

Alternatively Check these post:

timer job programatically check status


| improve this answer | |
  • Thanks. Is there a way to find the currently running jobs? – Strider Apr 2 '14 at 2:48
  • if you run the above code it will tell currently running jobs.more explanation about above steps....iedaddy.com/2011/09/… – Waqas Sarwar MVP Apr 2 '14 at 3:43

The way to get actual running timer jobs was posted here:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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