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
Please post the exact unadulterated commands you use and tell us which one is successful and which one is not.
Please post the exact unadulterated commands you use and tell us which one is successful and which one i
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
- Edited by Denis.Pasternak 22 hours 44 minutes ago