Skip to content

Commit 8b77583

Browse files
authored
Added ability to gather PendingActionType. Thanks Lorne!
1 parent 493ac13 commit 8b77583

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
SELECT * FROM AgentPendingAction WITH (NOLOCK)
1+
SELECT
2+
AgentPendingActionId,
3+
AgentName,
4+
ManagementServerName,
5+
Case PendingActionType
6+
When 0 then 'Manual Approval'
7+
When 1 then 'Push Install'
8+
When 2 then 'Updated Needed'
9+
When 10 then 'Repair Failed'
10+
When 17 then 'Push Install Failed'
11+
When 18 then 'Update Failed'
12+
End as [PendingActionType],
13+
PendingActionData,
14+
LastModified
15+
FROM AgentPendingAction WITH (NOLOCK)

0 commit comments

Comments
 (0)