Forum Discussion
Carlos Yohn Zubiría
Sep 04, 2018Copper Contributor
Listing shared mailboxes and members - Powershell
Hi, Does anyone knows how to get a list of shared mailboxes and members with powershell? Thanks in advance, Regards
Mr_Stark
Feb 01, 2019Copper Contributor
What I do is sending the results to a txt file, just adding :
>myfilename.txt
at the end of the sentence.
Chico8Loco
Sep 12, 2019Copper Contributor
You can pipe the result to a csv file Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission | select identity,user,accessrights | where { ($_.User -like '*@*') } | Export-Csv -path -NoTypeInformation more info bout export-csv can be found here: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/export-csv?view=powershell-6