Hi @ Glenn Maxwell,
You can refer to the following command to get the mailbox type for an email address in the Exchange Online powershell:
Get-Recipient -Identity distribution1@contoso.onmicrosoft.com | select Name, PrimarySmtpAddress,RecipientTypeDetails
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.