Unlock-RDMRepository

    2024-12-11

    Unlock-RDMRepository

    SYNOPSIS

    Unlock the vault to be loaded

    SYNTAX

    __AllParameterSets

    Unlock-RDMRepository [-Password] <PSPassword> [<CommonParameters>]
    

    ALIASES

    This cmdlet has the following aliases,

    DESCRIPTION

    Unlock the vault to load it. If this fails, the user will be prompted for the password.

    EXAMPLES

    EXAMPLE 1

    PS C:> Unlock-RDMRepository -Password 'pa$sWord!' PS C:> Get-RDMDataSource -Name 'myDataSourceWithOnlyProtectedVaults' | Set-RDMCurrentDataSource

    Unlock the last used vault in the data source named 'myDataSourceWithOnlyProtectedVaults before accessing it'

    EXAMPLE 2

    PS C:> Unlock-RDMRepository -Password (ConvertTo-SecureString -AsPlainText -String 'pa$sWord!') PS C:> Get-RDMVault -Name 'myLockedVault' | Set-RDMCurrentVault

    Unlock the vault 'myLockedVault' before accessing it'

    PARAMETERS

    -Password

    Password to unlock the vault. Accepts a string or SecureString.

    Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSPassword
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: 1
      IsRequired: true
      ValueFromPipeline: false
      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

    OUTPUTS

    NOTES

    For more information, type "Get-Help Unlock-RDMRepository -detailed". For technical information, type "Get-Help Unlock-RDMRepository -full".