Get-AgentPendingAction

Get-AgentPendingAction

Gets agent-pending actions.

Syntax

Parameter Set: FromMonitoringObjectProviderPath
Get-AgentPendingAction [[-Path] <String[]> ] [ <CommonParameters>]

Detailed Description

Gets agent-pending actions for all connected management groups or for a specified management group.

Parameters

-Path<String[]>

Specifies the path to the management group or groups for which to retrieve agent-pending actions. To enter multiple paths, separate them by using commas.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Notes

  • For more information, type "Get-Help Get-AgentPendingAction -detailed". For technical information, type "Get-Help Get-AgentPendingAction -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

-------------- EXAMPLE 1 --------------

This command gets all agent pending actions for all connected management groups.

C:\PS>get-agentpendingaction

Approve-AgentPendingAction

Reject-AgentPendingAction