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
Paris Wells
Nov 01, 2018Copper Contributor
Here is the powershell to get this
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission | select identity,user,accessrights | where { ($_.User -like '*@*') }
Neeraj Ail
Jan 28, 2019Copper Contributor
Thanks for the script. Can i get a list of send as permissions too along with accessrights?
- kathyJan 03, 2020Brass Contributor
Neeraj Ail
I hope this will help you.
https://o365reports.com/2020/01/03/shared-mailbox-permission-report-to-csv/
This script exports shared mailbox permissions like full access, send as and send on behalf to CSV file. - JeremyMillerJan 28, 2019MVPYou can see sendas permissions using the Get-RecipientPermission cmdlet.
- Neeraj AilJan 28, 2019Copper Contributor
thanks it worked.
Get-RecipientPermission -Identity "mailbox" -AccessRights sendas | where {($_.trustee -like '*@*') }
- techyguysSep 16, 2020Copper Contributor
Neeraj Ail It worked perfectly. Thank you!!!