Invoke-DSPamCheckin

    2025-02-17

    Invoke-DSPamCheckin

    SYNOPSIS

    Check in a currently checked out PAM credential.

    SYNTAX

    __AllParameterSets

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

    ALIASES

    This cmdlet has the following aliases,

    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
    ParameterValue: []
    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.

    OUTPUTS

    RemoteDesktopManager.PowerShellModule.Private.ServerResponse

    NOTES

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