Bulk Creation / Replication of a Standard 7-Folder Substructure into 100+ Customer Folders
We are running a large-scale Remote Desktop Manager (RDM) installation. We are using V 2025.3.21.0 and we are using devolutions server on prem.
We currently manage a substantial number of customer accounts, featuring 100 or more top-level customer folders located in the root of our data source.
Our objective is to implement a standardized folder sub-structure consisting of 7 specific sub-folders (e.g., Servers, Documentation, Credentials, etc.) within every single one of these existing customer folders.
Given the volume of folders, manually creating these 7 sub-folders in 100+ locations is not feasible. We are therefore looking to automate this task.
Thank you for your help!
Hello mb2,
Thank you for reaching out to the Devolutions support team.
You can use a template and a template group to build the desired structure and manually move your entry.
Also, you can use the advanced search to move your entry in batches.
https://docs.devolutions.net/rdm/commands/file/templates/creating-templates
https://docs.devolutions.net/rdm/commands/view/search/advanced/
Alternatively, you can use PowerShell to create your folder structure and move your entry:
https://docs.devolutions.net/powershell/rdm-powershell/powershell-scripting/powershell-module/
https://docs.devolutions.net/powershell/powershell-commands/
Best regards,
Patrick Ouimet
Hello Patrick
Would you have an example how to copy the template of folders to all current customers folders in RDM? Could be also a Powershell script.
Thanks and best regards.
Patrick Frey
Hello Patrick,
Thank you for this feedback.
You can manually add the template under the wanted folder and move your entries manually under the created folder structure.
Rick-click on a folder -> New Entry -> Template -> Select your template group.
It will add the structure under the folder.
To move, simply click and drag your entry or CTRL-click and drag.
For PowerShell, I suggest adapting this script to your environment and the type of entry you want to create:
https://docs.devolutions.net/powershell/rdm-powershell/powershell-scripting/powershell-module/
https://github.com/Devolutions/DevoSamples-ps/blob/main/RDM/entries/NewCredentialsandEntry.ps1
https://github.com/Devolutions/DevoSamples-ps/blob/main/RDM/entries/MassEdits/ManageSubEntries.ps1
or use the MSP sewer to execute it with LLM prompts:
https://docs.devolutions.net/rdm/commands/tools/more-tools/mcp-server/
Best regards,
Patrick Ouimet