I've noticed when I pull up exchange management console, it shows mailboxes which have the "Recipient Type Details" as Legacy Mailboxes.
How do I go about querying which ones are legacy, user or linked mailboxes?
I've tried
get-mailbox -identity <displayname> | select deleteditemflags
but that doesn't seem to work.