Forum Discussion

fstorer's avatar
fstorer
Brass Contributor
Apr 18, 2024
Solved

Get a report showing specific shared mailboxes and Display Names of their members on one line.

Dear Community,  I have been asked to generate an excel report showing all our shared mailboxes starting with "jobs-". For each shared mailbox we want to see the members' Display Names (not the emai...
  • VasilMichev's avatar
    VasilMichev
    Apr 19, 2024
    Sorry, that's what happens when I write code directly in the browser 😄

    For the sorting bit, this should do:

    $membersString = ($memberNames | sort -Unique) -join ", "

Resources