Problem:
How to use PowerShell to get Office 365 mailbox and show mailbox types
Solution:
Get-Mailbox -ResultSize unlimited | select PrimarySmtpAddress, RecipientType, RecipientTypeDetails, WindowsEmailAddress | export-csv "c:\temp\Mailbox.csv" -nti