Export-RDMRepository
Synopsis
Export vaults of the current workspace in a rdx file.
Syntax
Name (Default)
Export-RDMRepository [-Name] <string[]> [-Path] <string> [-Password <securestring>]
[-IncludeAttachments] [-IncludeCredentials] [-IncludeDocumentation] [-IncludeFavorite]
[-RemoveAllFolders] [-NoClobber] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]Id
Export-RDMRepository [-ID] <guid[]> [-Path] <string> [-Password <securestring>]
[-IncludeAttachments] [-IncludeCredentials] [-IncludeDocumentation] [-IncludeFavorite]
[-RemoveAllFolders] [-NoClobber] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]InputObject
Export-RDMRepository [-InputObject] <PSRepositoryInfo[]> [-Path] <string> [-Password <securestring>]
[-IncludeAttachments] [-IncludeCredentials] [-IncludeDocumentation] [-IncludeFavorite]
[-RemoveAllFolders] [-NoClobber] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]Literal
Description
Export vaults of the current workspacee in a rdx file. To protect the file, the parameter Password must be used. By default, if the file exists in the specified path, it will be overwritten. The NoClobber switch must be used to avoid this behavior. This command is only available for an administrator on an advanced workspace.
Examples
Example 1
Export all vaults whose name start with 'Vault' in 'myFile.rdx'. The file is protected with the parameter $pwd. All folders are not exported. The entries will all be at the root level.
Example 2
Export VaultA, VaultB, and VaultC of the current workspace in the file specified by $path. Change the current workspace to 'AnotherOne' and import all vaults recently exported. With the KeepID switch present, all imported entries will keep their ID. As long as the new workspace does not use the same database, no unexpected behaviors will happen.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-ID
Specifies the ID of the vaults to be exported.
-IncludeAttachments
Include attachements and documents in the export
-IncludeCredentials
Include credentials in the export.
-IncludeDocumentation
Include entry documentation in the export.
-IncludeFavorite
Keep the favorite status.
-InputObject
Specifies the vaults to be exported.
-LiteralName
Specifies the name of the vaults to be exported. No characters are interpreted as wildcards.
-Name
Specifies the name of the vaults to be exported.
-NoClobber
NoClobber prevents an existing file from being overwritten and displays a message that the file already exists. By default, if a file exists in the specified path, it is overwritten.
-Password
Protect the data with a master key.
-Path
Path where the file containing the exported vaults will be saved. The extension must be '.rdx'. If it is not the case, it will be modified to it.
-RemoveAllFolders
Remove all folders. All other entries will have their group set at the root level.
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
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 Export-RDMRepository -detailed". For technical information, type "Get-Help Export-RDMRepository -full".
Last updated
Was this helpful?