Skip to content

Commit 5064118

Browse files
committed
Update Invoke-ListCippQueue.ps1
1 parent 4864470 commit 5064118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/CippQueue/Invoke-ListCippQueue.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function Invoke-ListCippQueue {
6363
PercentComplete = [math]::Round(((($TotalCompleted + $TotalFailed) / $Queue.TotalTasks) * 100), 1)
6464
PercentFailed = [math]::Round((($TotalFailed / $Queue.TotalTasks) * 100), 1)
6565
PercentRunning = [math]::Round((($TotalRunning / $Queue.TotalTasks) * 100), 1)
66-
Tasks = @($Tasks)
66+
Tasks = @($Tasks | Sort-Object -Descending Timestamp)
6767
Status = $Queue.Status
6868
Timestamp = $Queue.Timestamp
6969
}

0 commit comments

Comments
 (0)