Invoke-DSPamCheckin

Synopsis

Check in a currently checked out PAM credential.

Syntax

__AllParameterSets

Invoke-DSPamCheckin -Checkout <PSPamCheckoutWrapper> [<CommonParameters>]

Description

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.

Examples

Example 1

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

Example 2

PS C:\> $checkoutResponse = Get-DSPamCheckout -ActiveAndPending;
        $checkoutResponse | Where Status -eq "Active" | Invoke-DSPamCheckin

Check in all active checkouts.

Parameters

-Checkout

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: ''

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.

Inputs

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSWrapper.PSPamCheckoutWrapper

Pam checkout obtained from Get-DSPamCheckout or Invoke-DSPamCheckout.

Notes

For more information, type "Get-Help Invoke-DSPamCheckin -detailed". For technical information, type "Get-Help Invoke-DSPamCheckin -full".

Devolutions Forum logo Donnez-nous vos commentaires