Allow to clean up\delete deleted users via powershell

This feature has been implemented in version 2025.3.3.0

Allow to clean up\delete deleted users via powershell

2 votes

avatar

Hi, in devolutions servers since 2025 when a user is deleted it goes to the deleted users section.
Currently it's not possible to delete users from there using the powershell module which prevents certain automations.
Please add this.

Ben

All Comments (4)

avatar

Hello Ben,

Apologies for the delayed response. A ticket has been opened to manage the deleted users, and I’ll keep you informed once progress is made on the task.

Best regards,
Maxime

avatar

Hello @benseroussi,

Version 2025.3.3 of the PowerShell module now includes cmdlets for managing deleted users:

  • Get-RDMDeletedUser, Restore-RDMDeletedUser, Remove-RDMDeletedUser
  • Get-DSDeletedUser, Restore-DSDeletedUser, Remove-DSDeletedUser


Best regards,
Christian

avatar

Thanks, will it work with DVLS 2025.2.21 or DVLs must be upgraded to 2025.3 first?

avatar

Hello @benseroussi,

The "deleted users" feature hasn't changed much between those DVLS versions, so it would likely work. That said, we generally warn against using a client (in this case PowerShell) and a DVLS with mismatched versions, and recommend upgrading if possible.

Best regards,
Christian

This feature has been implemented in version 2025.3.3.0