Timer Job History for a Specific Timer Job

First find the timer job you want.
Get-SPTimerJob | Select Name,Id
Get-SPTimerJob | ? Name -eq "job-workflow"
Get-SPTimerJob | ? Name -Like "*workflow*"

Then Filter it out using the Below Query
Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue [DateTime]$StartTime = "7/17/2015 00:00 am" [DateTime]$EndTime = "7/17/2015 11:59 pm" $Jobs = Get-SPTimerJob | ? name -eq "job-workflow" | % { $_.HistoryEntries } | Where-Object {($_.StartTime –gt $StartTime) -and ($_.EndTime -lt $EndTime) } $Jobs | Out-GridView
Use Gridview filters for additional filters.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s