Display Available Timer Jobs on the Farm
Scenario/Problem: You need to obtain a timer jobs reference and therefore need a listing of available timer jobs.
Solution: Use the Get-SPTimerJob
cmdlet without any parameters to retrieve all available timer jobs.
To obtain a timer job reference object, you need to find the identity of the timer job. Using Get-SPTimerJob
by itself (see Listing 4.22) displays all available timer jobs, as shown in Figure 4.7.
Get-SPTimerJob
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.