Creating a PowerShell Script to add users from AD with specific user parameters

Creating a PowerShell Script to add users from AD with specific user parameters

avatar

Hello,

After reading some threads we could not find a solution for following purpose

From a given user already created in RDM from AD, get its RDM parameters (Roles, Privileges,Security groups) and then create an script with some AD users, add those parameters and to be readen by RDM creating those users.

Could you kindly help us?

RDM version 2019.2.24.0 64bit

Thanks,

Javier

All Comments (1)

avatar

Hello,

What data source type are you using?

For a User object in RDM, here are the properties you are looking for.

forum image

As there is no duplicate user cmdlet available, you will have to create the new account with New-RDMUser cmdlet. The section 1, 3 and 4 are boolean values you can set to replicate the original account. The for part 2, as it's a XML string, you can copy it from one account to another one.

Let us know if you need further information about it.

Best regards,

Érica Poirier