New-RDMPamCheckoutRequestInformation
Synopsis
Autofill the next PAM checkout request information
Syntax
Duration
New-RDMPamCheckoutRequestInformation [-Duration] <int> [[-ApproverID] <guid>] [[-Reason] <string>]
[<CommonParameters>]TimeRange
New-RDMPamCheckoutRequestInformation [-EndTime] <datetime> [[-ApproverID] <guid>]
[[-Reason] <string>] [[-StartTime] <datetime>] [<CommonParameters>]Description
Autofill the next PAM checkout request information. By default, a standard PAM checkout request is submitted. If possible, it is self-approved; otherwise, it is assigned to a random approver. The default duration is 60 minutes. This cmdlet allows you to modify the parameters of the next request, including approval routing and duration.
Examples
PS C:\> New-RDMPamCheckoutRequestInformation -Duration 15 -Reason 'Execute system information report from entry named MySystemInformationReportEntry'
PS C:\> Get-RDMEntry -Name 'MySystemInformationReportEntry' | New-RDMSystemInformationReportThe entry MySystemInformationReportEntry is linked to a privileged account, so a PAM checkout is required. Use New-RDMPamCheckoutRequestInformation before calling New-RDMSystemInformationReport to limit the session to 15 minutes and to provide a reason for access.
Parameters
-ApproverID
Approver's ID. If not specified, it will be either self-approved, if possible, or send to a random approver.
-Duration
Duration in minutes for the pam checkout request
-EndTime
When the checkout ends
-Reason
Reason of the pam checkout request
-StartTime
Checkout occurs immediately by default, unless otherwise specified
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help New-RDMPamCheckoutRequestInformation -detailed". For technical information, type "Get-Help New-RDMPamCheckoutRequestInformation -full".
Last updated
Was this helpful?