I need a full list of all mailboxes, shared mailboxes, and resources.

SShu 0 Reputation points
2025-02-20T22:02:14.2333333+00:00

I am trying to get a single list that will show me all of our mailboxes, shared mailboxes, and resources, as well as show the license type. When I run this command (Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName, RecipientTypeDetails, Alias) it returns a list of 293 rows. However, if I do individual lists to show mailboxes and another to show shared mailboxes, etc. I end up with a list of 592 unique mailboxes. Looking, I found some of them I can see in 365 Admin center but they are not in Exchange admin center. (Not sure if that is the case with all of them.)

How can I get a single list to show me all of the mailboxes, shared mailboxes and resources as well as what type of mailbox it is?

Ex. John Doe, Shared Mailbox

  Jane Doe, Resource

  Jack Ryan, UserMailbox
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,823 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.