Create Folderstructure via RDM Powershel

Create Folderstructure via RDM Powershel

avatar

Hello,

we would like to provision a standardised folder structure for our customers within the Password Server via our Identity Management System using the powershell API.

I tried it via New-RDMSession but I am not able to find an option to create an "Company" folder or an "Server" or "Site" Folder.
I also tried to publish the folder structure via a template but only a root folder is deployed and no subordinate folders are created.

We are using:
RDM Version: 2022.2.20.0 64-bit
Powershell Version: 2022.2.3.0
Devolutionsserver Version: 2022.2.9.0


Best Regards,
Stephan

All Comments (3)

avatar

Hello,

The property to set it as a Company folder is the following.

$session.GroupDetails.GroupType = "Company"


About the template, are you referring to a template group in your script to create the folder structure?

Best regards,

Érica Poirier

avatar

Hi,

the property for the GroupType is sufficient for me.

Thanks for the quick support.

Best Regards,
Stephan

avatar

Hi,

Thank you for your feedback and glad you are satisfied with the provided solution.

Best regards,

Érica Poirier