Please tell me how to query for emails without attachments.
This doesn't work:
Neither does this:
Neither does this:
From what I understand this page would indicate that it should:
http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx
The error I get is: "The property keyword isn't supported." But that property keyword is in the list of supported properties according to the page above...
Please help.
This doesn't work:
Search-Mailbox -Identity "User" -SearchQuery "hasattachment:false" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "HasAttachments"
Neither does this:
Search-Mailbox -Identity "User" -SearchQuery "hasattachment:$false" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "HasAttachments"
Neither does this:
Search-Mailbox -Identity "User" -SearchQuery "hasattachments:false" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "HasAttachments"
From what I understand this page would indicate that it should:
http://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx
The error I get is: "The property keyword isn't supported." But that property keyword is in the list of supported properties according to the page above...
Please help.