Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Mailbox Search

$
0
0

Search-Mailbox -Identity "Joe Healy" -SearchQuery 'Subject:"Project Hamilton"' -TargetMailbox "DiscoveryMailbox" -TargetFolder "JoeHealy-ProjectHamilton" -LogLevel Full

Above command return all messages contains "Project Hamilton" (For example 'Project Hamilton Report' or 'Project Hamilton Status'), how can I filter to get only 'Project Hamilton' and exclude all other results?


Viewing all articles
Browse latest Browse all 8583

Trending Articles