Exporting the “Admin Roles” in “Exchange admin center” – Permissions

Welcome Forums General PowerShell Q&A Exporting the “Admin Roles” in “Exchange admin center” – Permissions

Viewing 2 reply threads
  • Author
    Posts
    • #232855
      Hil
      Participant
      Topics: 30
      Replies: 40
      Points: 203
      Rank: Participant

      Hi,

      How can I export (to¬† TXT or CSV) the “Admin Roles” in “Exchange admin center” – Permissions (Highlighted in RED).

      I tried several commands like Get-ManagementRole, etc but i am just not able to get a handle to it.

      Please help

      Thanks

       

    • #232867
      Participant
      Topics: 3
      Replies: 431
      Points: 1,533
      Helping Hand
      Rank: Community Hero

      I think this may help you.

      Get-RoleGroup | Select-Object -ExpandProperty Name | Sort-Object
      
    • #232987
      Hil
      Participant
      Topics: 30
      Replies: 40
      Points: 203
      Rank: Participant

      I think this may help you.

      <textarea class=”ace_text-input” style=”opacity: 0; height: 18px; width: 7px; left: 254px; top: 0px;” spellcheck=”false” wrap=”off”></textarea>

      1
      2
      Get-RoleGroup | Select-Object ExpandProperty Name | Sort-Object
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

      Thanks Doug. Works great.

      Took it a step further to extract some of the needed sub components

      Get-RoleGroup | select-object SamAccountName, Identity, managedby, members, Roles, RoleAssignments

Viewing 2 reply threads
  • You must be logged in to reply to this topic.