'Powershell Exchange - searchbase

Simple question but is it possible to search specific mailboxes via Exchange Online with the script that won't have to look at a whole database?

Now I am using Get-mailbox and have to type - "results unlimited" but it takes forever to execute

Is there a way to have a" -search base" option like in AD to limit my scope?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source