Is it possible to export the password history for entries using the Devolution.Server PS module, just like you can do with other sensitive data?
Hello Thoj,
It is currently not possible to export the password history using our Powershell module. I will look into it and provide a CMDlet in the next release, which will be available later this week.
Thank you for bringing this to my attention.
Best regards,
Alexandre Martigny
Hi Alexandre
Using the command Get-DSEntryPasswordHistory from Devolutions.PowerShell version 2023.1.0.8 with Devolution Server version 2023.1.6.0 only gives the latest password and not anything from the history.
Also for some reason when using the Get-DSEntrySensitiveData it now requires to go down two .data in depth to get the same data as before. I'm not sure when that changed but it was working in the last version we used which was a 2022.x.x something - is that now required? See below eksempel.
$DvlsEntrySensitiveData = Get-DSEntrySensitiveData -EntryId $DvlsEntry.ID
$DvlsEntrySensitiveData.Data.data.credentials.username
Regards
Thomas
Hello Thomas,
I was able to replicate both issues, I will open a ticket with the engineering team.
Best regards,
Richard Boisvert
Hi Richard
Thanks for letting me know.
Regards
Thomas
Hello thoj,
For the Get-DSEntrySensitiveData, it used to be $DvlsEntrySensitiveData.body.Data.data.credentials.username to retrieve the information. The ".body" is no longer required, it would need to be removed from your scripts.
Best regards,
Richard Boisvert
Hi Richard
If you look at my above example i'm not using the '.body' part (even though it's there). Our script used to work without the second .data but its now requires it.
I also just wanted to know if that is now required our if it could be a bug?
Hello,
Would it be possible to provide us with your old script? You can send it to service@devolutions.net if you prefer.
Using the old module (2022.3), we can see that the .data.data was also required:
Best regards,
Richard Boisvert
7be96ce7-f664-4859-b965-0481da516e14.png
Hi,
The latest version (2023.1.0.9) now correctly returns all passwords when invoking Get-DSEntryPasswordHistory.
Regards
Jonathan Lafontaine