You may find yourself in a situation where you have Exchange in a multi-domain environment, that when your running commands like get-mailbox it’s not displaying mailboxes across all the domains.
You can sort that out by simply expanding your recipient scope, you can do that by running the below
- Open Exchange Management Console with Admin rights
- Run the command below
Set-AdServerSettings -ViewEntireForest $true