Search again (Search-Mailbox), no results
Good evening,

After a successful search, I get a file Search Results.csv. Then, if you change the parameters of the search, the subject line or text, the result will be zero and the file Search Results.csv not be sent. Although the posts with text and theme exist.

The script that is run:

get-mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery {Body: "Message" AND StartDate: "01/04/2015"} -TargetMailbox "audit.mailbox@email.com" -TargetFolder "Folder" -LogOnly -LogLevel Full

Exchange 2010 SP2 RU8

Tried in EMC, and through PS
May 2nd, 2015 6:04am

Please post the exact unadulterated commands you use and tell us which one is successful and which one is not.

Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2015 5:21pm

Please post the exact unadulterated commands you use and tell us which one is successful and which one i

May 8th, 2015 4:44am

Thanks, but that doesn't help because it's not unadulterated.
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2015 11:35am

Give result Search Results.csv:

get-mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery {Body:"colleagues in the attachment to the agreed payment register" AND StartDate:"01/04/2015"} -TargetMailbox "sa.mail.audit@root.local" -TargetFolder " Folder1" -LogOnly -LogLevel Full

No result:

get-mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery {Body:"display text - enable editing" AND StartDate:"01/04/2015"} -TargetMailbox "sa.mail.audit@root.local" -TargetFolder "Folder2"  -LogOnly -LogLevel Full

text is in the same letter


May 11th, 2015 4:42am

Honestly, I can't tell you why one would work and the other wouldn't without seeing the message in question.
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2015 8:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics