How are User Roles stored in SCOM
Are custom User Roles stored in an MP? If so which one? I am performing a migration from a Test environment Management Group to a Production environment Management Group and I would like to bring over the roles.
March 15th, 2011 2:32pm

Hi, Roles are stored in the DB. Here is something that will help you for export/import user roles : http://blogs.technet.com/b/jonathanalmquist/archive/2008/03/23/import-user-roles-powershell.aspx Regards.Supervize Me
Free Windows Admin Tool Kit Click here and download it now
March 15th, 2011 2:57pm

Hi, Roles are stored in the DB. Here is something that will help you for export/import user roles : http://blogs.technet.com/b/jonathanalmquist/archive/2008/03/23/import-user-roles-powershell.aspx Regards. Supervize Me © Excellent, thank you for the link. It looks like Jonathan spent some time developing these scripts which will help me immensely if they work. I will report back on the findings.
March 15th, 2011 3:08pm

Alright the script is good with one small exception. The AD Groups I had added to the custom profiles had blanks in between them (ex. Domain\This is a Group). There is a section of code that needs to be adjusted to account for this possibility within each script (i.e. Import and Export scripts). The export script should ultimately be changed to add a delimiter between the "user" names. I didn't have time to look exactly what needed to be changed. But I did manually remove blank space between the groups from the export and added a comma to separate the values. Then I needed to modify the import script to handle this change. The import script should then have this line change from: $users = $users.Split(" ") to $users = $users.Split(",") Oh, and it should be noted that if you use this technique you will still need to set the views and tasks within each profile.
Free Windows Admin Tool Kit Click here and download it now
March 15th, 2011 3:35pm

Feel free to give any feedback to Jonathan directly.Supervize Me
March 15th, 2011 3:56pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics