Hello
Is there a command which I can use to create a Custom variable in a Hub Business Vault using PowerShell?
Hello @rbouwmeester,
Could you confirm what you mean by "custom variable"?
Hello @rbouwmeester,
Adding or modifying custom variables at the vault level isn't currently possible with the PowerShell module. Would a set of general 'RDM' cmdlets that support these actions be useful to you, or do you moreso rely on the Hub-specific cmdlets?
Best regards,
Christian
We are migrating from a Devolutions server to a Develutions Hub Business. What I see is that when I export Vaults to an RDX file, Customs Variabeles which are part of a Vault are not included in the RDX file and because of that are not added in the Vaults within new environment. I am looking for a way to migrate these variables to the new environment.
Best regards,
Ron Bouwmeester
Hello @rbouwmeester,
A ticket has been opened to enable migrating these variables between data source types in PowerShell. We'll keep you updated when progress is made on the task.
Best regards,
Christian
Hello @rbouwmeester,
Apologies for the confusion in my previous message. The cmdlets Import-RDMCustomVariable and Export-RDMCustomVariable are already available (as of version 2025.3.0 of the Devolutions.PowerShell module). We do plan to introduce additional cmdlets to allow initializing, modifying, and removing these variables in the near future. In the meantime, the existing cmdlets should allow you to migrate your variables as-is.
Best regards,
Christian
Hello Christian,
Thank you for your reply. I will have a look at the cmdlets.
Kind regards,
Ron Bouwmeester