I'm failing horribly at searching a single user's mailbox for any mail containing a particular word.
-Mailbox -Identity "USER" -TargetMailbox "Support" -TargetFolder "Recovery" -DomainController "dc.local"
Success! But I see every email ever; I need to narrow it down with a search.
-Mailbox -Identity "USER" -SearchQuery "Body: '*euro*'" -TargetMailbox "Support" -TargetFolder "Recovery" -DomainController "dc.local"
The search has Failed.
Started by: local\ADMIN
Start Time: 3/31/2011 12:26:39 PM
Size: 0 B (0 bytes)
Errors: An error occurred when searching USER. The message is 'Search Failed on mailbox 'local\USER\a702b7cd-1921-4f96-9534-76ad00d719a1'. If the search query used short words with wildcard(s) such as pat*, it can result in a large number of words or phrases because all permutations of words starting with “pat” are searched. Make search queries as specific as possible when using wildcards. '.
Operations performed: Messages were copied to the target mailbox.
Query: Body: '*euro*'
Search Dumpster: True
Mailboxes to search: (1) local\USER
-SearchQuery "Body: '*euro*'"
-SearchQuery "Body: 'euro'"
Please note that all
of the above searches, including with and without wildcards, yield the same error message.
I've done heavy searching online for 'search-mailbox "search failed on mailbox"' and such with no applicable results.
What am I missing?