Hi
I am trying to copy a folder from one Vault to a different Vault using powershell and Export-RDMSession and Import-RDMSession.
When I import the folder to a repository it disappears from the first one, I suspect it moves it.
Is there a setting to prevent it from moving it?
Hello,
Because the Export-RDMSession cannot modify the GUIDs of the entries, when importing the session, the Import-RDMSession will move the entries in the destination vault. You can use instead the Copy-RDMSession cmdlet for that operation.$sessions = Get-RDMSession$newcopy = Copy-RDMSession -PSConnection $sessions$vault = Get-RDMRepository -Name MyDestinationVaultSet-RDMCurrentRepository $vaultSet-RDMSession $newcopyUpdate-RDMUI
Best regards,
Érica Poirier
That solved the problem, thank you very much
Hello,
Thank you for your feedback and glad that it's working as expected.
Best regards,
Érica Poirier