The Get-PAMRequestToApprove cmdlet gets Privileged Access Management (PAM) activation requests from another user that are pending approval. If the user is a role owner, then this cmdlet returns requests from other users that are currently pending approval for activation into that role. The objects returned from this cmdlet are provided to Set-PAMRequestToApprove to approve or reject the request.
Example 1: Get requests that are pending approval
PS C:\> $Requests = Get-PAMRequestToApprove
This command returns requests other users made earlier that are pending approval.