Problem:
How do you get all shared mailboxes in Office 365 and display the email address and displayname
Solution:
Run the below command:
Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize Unlimited | select PrimarySmtpAddress,DisplayName | export-csv c:\temp\SharedMailboxUsers.csv
Thanks for command.
Hi,
I wonder if someone could help me please in getting a script to list all shared mailboxes, the primary SMTP, Display Name, Alias, and the size of the mailbox in GB or MB.
I need to be able to export this result also ideally please.
Thank you in advance.
Imran Karim