Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Approve-AgentPendingAction

Approve-AgentPendingAction

Approves the specified agent pending action.

Syntax

Parameter Set: FromAgentPendingAction
Approve-AgentPendingAction [-AgentPendingAction] <AgentPendingAction[]> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

Approves the specified agent pending action.

Parameters

-AgentPendingAction<AgentPendingAction[]>

Specifies one or more agent pending actions to approve. Use the get-AgentPendingAction cmdlet to retrieve objects corresponding to agent pending actions to supply as values to this parameter. To enter more than one value, separate them by using commas.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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 Approve-AgentPendingAction -detailed". For technical information, type "Get-Help Approve-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 uses the get-agentpendingaction cmdlet to get all agent pending actions and then pipelines the result to the approve-agentpendingaction cmdlet to approve them all.


C:\PS>get-agentpendingaction | approve-agentpendingaction

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.