Get-SitecoreJob
Returns list of the current sitecore jobs

Syntax

Get-SitecoreJob

Detailed Description

The Get-SitecoreJob command returns the list of the currently running jobs of Sitecore.
© 2010-2019 Implemented by Vangasewinkel Benjamin using the Adam Najmanowicz, Michael West Sitecore PowerShell Extensions. All rights reserved.

Parameters

None

Outputs

The output type is the type of the objects that the cmdlet emits.
  • Sitecore.Jobs.Job

Notes

Help Author: Vangansewinkel Benjamin

Examples

EXAMPLE 1

1
PS master:\> Get-SitecoreJob
2
3
Category : PowerShell
4
Handle : b62d9129-298a-4630-bb37-d725e5ce3bbf;DCI5CG6011F3Y-sc81u3contact
5
IsDone : True
6
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{347EBAF8-6BE2-4ABC-91D0-36B36FCF414B}
7
Options : Sitecore.Jobs.JobOptions
8
Status : Sitecore.Jobs.JobStatus
9
WaitHandle : System.Threading.ManualResetEvent
10
QueueTime : 11/13/2017 1:03:18 PM
11
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
12
13
Category : Indexing
14
Handle : dca83fc7-def7-4564-ac44-987e79ffc3cd;DCI5CG6011F3Y-sc81u3contact
15
IsDone : True
16
Name : Index_Update_IndexName=sitecore_analytics_index
17
Options : Sitecore.Jobs.JobOptions
18
Status : Sitecore.Jobs.JobStatus
19
WaitHandle : System.Threading.ManualResetEvent
20
QueueTime : 11/13/2017 1:03:29 PM
21
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
22
23
Category : PowerShell
24
Handle : de0a1dce-45f7-44fb-81b5-02b402c1f614;DCI5CG6011F3Y-sc81u3contact
25
IsDone : False
26
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{47666A58-890B-4D13-8F15-3348643750E4}
27
Options : Sitecore.Jobs.JobOptions
28
Status : Sitecore.Jobs.JobStatus
29
WaitHandle : System.Threading.ManualResetEvent
30
QueueTime : 11/13/2017 1:03:29 PM
31
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
Copied!

EXAMPLE 2

1
PS master:\> $jobs = Get-SitecoreJob
2
PS master:\> $jobs[0].Status
3
4
Category : PowerShell
5
Handle : c9215f66-ce60-49e5-9620-bf1ec51b6ef4;DCI5CG6011F3Y-sc81u3contact
6
IsDone : False
7
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{DF4895A6-3EBB-4A2A-9756-3A0EF4B96396}
8
Options : Sitecore.Jobs.JobOptions
9
Status : Sitecore.Jobs.JobStatus
10
WaitHandle : System.Threading.ManualResetEvent
11
QueueTime : 11/13/2017 1:05:54 PM
12
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
Copied!

EXAMPLE 3

1
PS master:\> Get-SitecoreJob | Show-ListView -Property "Category", "IsDone", "Name", "QueueTime", `
2
@{Label="Status Expiry"; Expression={$_.Status.Expiry} },
3
@{Label="Status Failed"; Expression={$_.Status.Failed} },
4
@{Label="Status State"; Expression={$_.Status.State} },
5
@{Label="Status Processed"; Expression={$_.Status.Processed} },
6
@{Label="Status Total"; Expression={$_.Status.Total} },
7
@{Label="Status Message"; Expression={$_.Status.Messages} }
Copied!
Example 3

Related Topics

Last modified 2yr ago