Step through group list and retrieve all roles?

Has anybody built a PS script using GC CLI to do the following?

  • get list of all groups
  • iterate through each group and get a list of roles assigned to each group
  • export to CSV in something like the following

groupname,role1,role1division,role2,role2division

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.