Set-PendingApprovalRequest
Last updated
Last updated
The Set-PendingApprovalRequest
cmdlet allows you approve or reject an approval request. The cmdlet can be combined with the to approve or reject pending approval requests for the current user.
ApprovalObject
Required. An Approval
object obtained using the cmdlet that is in the Pending
state
Decision
Required. The approval decision. This can be either Approved
or Rejected
Reason
Optional. The reason for the approval or rejection
Individually get and approve each request
Approve all pending requests using the pipeline
Reject all pending requests using the pipeline