Hi,
To be able to move a RDM session to a different vault with Powershell hade ben a nice feature.
If you know the Session Id and is in the vault you want to move it to?
Then I don’t lose any info on the entry and for those that has this as a favourite it still will work.
Move-RDMSession -id ‘0e1bc8c2-5d24-4c2d-aaee-de50dc5216d5’ -to CurrentVault
Hello,
Thank you for your request.
A ticket has been submitted to our engineering team and once it will be available, we will post it here.
Thank you for your patience.
Best regards,
Érica Poirier
Hello acetio,
From the version 2023.2.0.0, it is now possible to transfer entries to another vault. Here is an example:
$vault = Get-RDMRepository -Name 'VaultDestination' $entriesToMove = Get-RDMSession -GroupName 'FolderToMove' -IncludeSubFolders Move-RDMSession -InputObject $entriesToMove -ToVaultID $vault.ID -Refresh
In case some entries are not included in the move, the folders will be copied instead of moved. For example:
- FolderA
-- FolderB
--- EntryA
-- FolderC
--- EntryB
If you were to move FolderA, FolderB, and EntryA, FolderA will only be copied because it is still required for FolderC and EntryB.
Nice.
Is there a way to do a “global” search in PowerShell to find sessions in different vaults by the session ID?
Hello,
It is only possible with a Devolutions Server data source and using the Get-DSEntry cmdlet.
Best regards,
Richard Boisvert
Thank you, this is excellent.