Check in a currently checked out PAM credential.
Invoke-DSPamCheckin -Checkout <PSPamCheckoutWrapper> [<CommonParameters>]
Check in a currently checked out PAM credential. To retreive the checkout, as a PamCheckout object, please use Get-DSPamCheckout CMDlet or store the result of Invoke-DSPamCheckout.
PS C:\> $Response = Invoke-DSPamCheckout -PamCredentialID '92e1d27f-6e7b-4c62-86da-a04fc22603c2' -Verbose
$BobPassword = $Response.Password
$BobCheckoutInfo = $Response.CheckoutInfo
$BobCheckinResponse = Invoke-DSPamCheckin $BobCheckoutInfo
Check in the pam checkout
PS C:\> $checkoutResponse = Get-DSPamCheckout -ActiveAndPending;
$checkoutResponse | Where Status -eq "Active" | Invoke-DSPamCheckin
Check in all active checkouts.
Pam checkout to check in.
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSWrapper.PSPamCheckoutWrapper
DefaultValue: ''
SupportsWildcards: false
Aliases:
- PamCheckout
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
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.
Pam checkout obtained from Get-DSPamCheckout or Invoke-DSPamCheckout.
For more information, type "Get-Help Invoke-DSPamCheckin -detailed". For technical information, type "Get-Help Invoke-DSPamCheckin -full".