Get SharePoint Timer Job Name

SharePoint Short #4
As a follow up to my recent post Start SharePoint Timer Job Script, that demonstrates how to start a specific timer job by it’s internal name, the following is a PowerShell script for retrieving the internal name from its display title.

For example, to get the internal name for the Delete Job History timer job, run the following script:

Get-SPTimerJob | Where {$_.Title -eq "Delete Job History"} | ft id,name

Will provide the following output:

Id                                      Name
--                                      -----
cbe86d89-8ed4-49fa-8b84-f814f9a67ab9    job-delete-job-history

To list all timer jobs and their internal names, run the following script:

Get-SPTimerJob | Sort-Object title | ft title,name
This entry was posted in SharePoint Shorts and tagged , . Bookmark the permalink.
0 0 votes
Article Rating
Subscribe
Notify of
guest

Solve the maths problem shown below before posting: *

0 Comments
Inline Feedbacks
View all comments