Get-PAMRequest

Gets PAM requests from the MIM Service.

Syntax

Get-PAMRequest
   [-User] <PAMUser>
   [-Active]
   [-Expired]
   [-Rejected]
   [-Pending]
   [-Closed]
   [-All]
   [[-Filter] <String>]
   [<CommonParameters>]
Get-PAMRequest
   [-User] <PAMUser>
   [[-Filter] <String>]
   [-Extended]
   [<CommonParameters>]

Description

The Get-PAMRequest cmdlet gets activation requests that have been requested by a specified user. You must specify the user object parameter that can be retrieved by calling the Get-PAMUser cmdlet.

Examples

Example 1: View requests from a user

PS C:\> Get-PAMRequest -User (Get-PAMUser -PrivDisplayName "contoso.PattiF")

This command retrieves requests from a user that are stored in the MIM Service.

Required Parameters

-Extended

Indicates that the cmdlet returns requests with all the extended properties.

Type:SwitchParameter
Position:9
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-User

Specifies the user whose requests are to be returned. Obtained from an earlier call to Get-PAMUser.

Type:PAMUser
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Active

Indicates that returned request objects are filtered to be activation requests that are currently active.

Type:SwitchParameter
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-All

Indicates that requests which are pending authorization are returned by this cmdlet.

Type:SwitchParameter
Position:7
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Closed

Indicates that requests which are canceled are returned by this cmdlet.

Type:SwitchParameter
Position:6
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Expired

Indicates that requests which have expired are returned by this cmdlet.

Type:SwitchParameter
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Filter

Specifies a clause to use as a filter.

Type:String
Position:8
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Pending

Indicates that this cmdlet returns PAM requests that are pending.

Type:SwitchParameter
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Rejected

Indicates that requests that were pending approval and were rejected are returned by this cmdlet.

Type:SwitchParameter
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMRequest