Getting a password

avatar

Hi,
I have retrieved the Vault id and would now like to retrieve the password for a user name, but I do not know how to retrieve the entryid required in the command, can you assist me please? I am using the Get-DSEntrySensitiveData <Entry Id guid > command.
Thanks,
Jen

All Comments (3)

avatar

Hello Jen,

Here are some ways to retrieve the information you are looking for.

  1. From Devolutions Server (two ways):
    1. Navigate to the entry and look at the URL. The URL will contain 2 different GUIDs. First one is the vault you are in, next on is your entry's ID.
    2. Open your entry's properties, then go to "Entry information". Your entry's ID should be there for you to copy.
  2. From RDM:
    1. Open your entry's properties, then go to "Entry Information". Your entry's ID should be there for you to copy.
  3. From Devolutions Server's PowerShell module:
    1. You could use the "Get-DSEntry" command with your correct vault ID and/or filters to find the entry you are looking for. I'm listing this as an option, but the methods above are faster and easier.


Do not hesitate if you have any more questions regarding the module.

Best regards,

Alexandre Martigny

avatar

Thanks Alexandre. I am trying to get all of the entries now to get the id of one of them. When I execute this, I get an error:

Get-DSEntry -VaultId "00000000-0000-4e82-8bdb-85441a3f70e4" (fake guid)

isSuccess : False
originalResponse :
Exception : System.ArgumentException: Conversion from JSON failed with error: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Microsoft.PowerShell.Commands.JsonObject.ConvertFromJson(String input, Boolean returnHashtable, Nullable`1 maxDepth, ErrorRecord& error)
--- End of inner exception stack trace ---
at Microsoft.PowerShell.Commands.JsonObject.ConvertFromJson(String input, Boolean returnHashtable, Nullable`1 maxDepth, ErrorRecord& error)
at Microsoft.PowerShell.Commands.ConvertFromJsonCommand.ConvertFromJsonHelper(String input)
at Microsoft.PowerShell.Commands.ConvertFromJsonCommand.EndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
ErrorMessage : Conversion from JSON failed with error: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
StandardizedStatusCode : 0
Body :

avatar

Hello Jennifer,

Please try again after adding the "-All" switch parameter after your command. There seems to be a case that slipped by me.

Get-DSEntry -VaultID $YourVaultId -All


Best regards,

Alexandre Martigny