Automate cleanup work via Powershell API

Implemented

Automate cleanup work via Powershell API

0 vote

avatar

Is it possible to script/automate the following cleanup work using the Powershell API?

Administration -> Aufräumen
- Eintragsverlauf bereinigen
- Aktivitätenprotokolle bereinigen



rdm_cleanup.png

All Comments (4)

avatar

Hello,

There is no cdmlet available in the Devolutions.PowerShell module to clean up the Activity logs or Entry history.

For that reason, I moved this thread to the Feature request section.

For your information, the Devolutions Server data source already offers the Cleanup logs feature.

Best regards,

Érica Poirier

avatar

Thank you for recognizing it as a feature request. :-)
We need this relatively urgently because the entries are growing very quickly due to automated imports and updates. Currently we always have to delete manually because after a while the transaction log of the database overflows due to the amount of data.

avatar

Hello,

In version 2024.2.7 of the module, we’ve added two new commands: Clear-RDMEntriesHistory and Clear-RDMActivityLogs. These commands allow you to automate the cleanup as desired. If you have any questions or need further assistance, please don’t hesitate to reach out.

Best regards,
Maxime

avatar

Thank you for the feedback.
I'll try it soon.