History of Prepare query suggestion timer job run

Hello All,

I was troubleshooting an issue where the Prepare Query suggestion timer job was taking a long time to execute and we wanted to output the history of the job run from across all servers in the farm and see how long the timer job took to execute.

Below command will give you that

$sug=get-sptimerjob -type Microsoft.Office.Server.Search.Administration.PrepareQuerySuggestionsJobDefinition


Below sample of just one enty- In my env I saw entries, as far back as 10 days.

JobDefinitionId    : e4807402-1e7d-4e8c-96bc-5c4969ff3404
JobDefinitionTitle : Prepare query suggestions
WebApplicationId   : 00000000-0000-0000-0000-000000000000
WebApplicationName :
ServiceId          : c1a08ff9-cffe-4534-82ef-5d140a22b736
ServerId           : 092e41d7-6d0e-4ad0-b8ca-20b6ff91b97f
ServerName         : SP
Status             : Succeeded
StartTime          : 2/24/2016 11:32:53 PM
EndTime            : 2/24/2016 11:32:56 PM
DatabaseName       :
ErrorMessage       :



Comments (0)

Skip to main content