Monday, December 7, 2015

Get specific Time job Running history in SPFarm using PowerShell script

Get-SPTimerJob | % { $_.HistoryEntries } | Where-Object {($_.StartTime –gt "12/07/2015 00:01:00") -and ($_.EndTime -lt "12/07/2015 23:01:00") -and ($_.JobDefinitionTitle -eq "Workflow")} | Format-Table –Property StartTime,EndTime,JobDefinitionTitle

No comments:

Post a Comment