Unlock-RDMRepository

Synopsis

Unlock the vault to be loaded

Syntax

__AllParameterSets

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

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
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  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.

Notes

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

Devolutions Forum logo Give us Feedback