Using Search-Mailbox to Process Multiple Mailboxes with Different Queries

MVP

 

The Search-Mailbox cmdlet is a very powerful weapon for Exchange administrators. It has some quirks, but the Invoke-Command cmdlet helps us get around one, which is how to use a different search query for each mailbox processed in a set of mailboxes.

https://office365itpros.com/2019/02/12/variables-search-mailbox/

0 Replies