Update Vault Description via Powershell

Update Vault Description via Powershell

avatar

I would like to update the Description of my vault.

I am able to get the actual value:
Set-RDMCurrentVault -ID $vault.ID
$Entry = Get-RDMCurrentVault
$Entry.Description is the value I would like to modify, but I can´t find a solution....

All Comments (4)

avatar

Hello,

Could you please try the following?

$vault = Get-RDMVault -Name "YourVaultName"
$vault.Description = "My new description"
Set-RDMVault $vault


Let me know if that helps.

Best regards,

Érica Poirier

avatar

Hello,

$vault = GetRDM-Vault -Name "MPH-Test"
GetRDM-Vault : The term 'GetRDM-Vault' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.

avatar

Problem solved :-)

Set-RDMCurrentVault -ID $vault.ID
Get-RDMCurrentVault
Description ID IsAllowedOffline Name
----------- -- ---------------- ----
XXXX False MPH-Test

$vault = Get-RDMCurrentVault
$vault.Description = "Test Description"
Set-RDMVault $vault
Get-RDMCurrentVault

Description ID IsAllowedOffline Name
----------- -- ---------------- ----
Test Description XXX False MPH-Test

Update-RDMUI

avatar

Hello,

Thank you for your feedback and glad that you have successfully updated the vault's description.

In your previous post, the error mentioned that GetRDM-Vault cmdlet doesn't exist. I think there is a typo and the - is not at the right place, it's Get-RDMVault ;)

Best regards,

Érica Poirier