https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/get-exomailbox?view=exchange-ps
Get-EXOMailbox (ExchangePowerShell) | Microsoft Learn
By default, this cmdlet returns a summary list (a minimum set of properties) of all mailboxes in your organization.
getmicrosoftlearn