Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Search-Mailbox cmdlet with Attachment keyword lists all items that contain the query string of "attachment"


View products that this article applies to.

Symptoms

When you run the Search-Mailbox cmdlet together with the Attachment property keyword in Exchange Server 2013, the search results list all items that contain the "attachment" query string.

↑ Back to the top


Cause

This issue occurs because the Attachment property is not restricted to only search attachments in email messages.

↑ Back to the top


Resolution

To fix this issue, install Cumulative Update 12 for Exchange Server 2013.

After you install this cumulative update, you can use the AttachmentNames property keyword to limit the search scope to only the items that have the specified attachment file name. For example, you can use the AttachmentNames property keyword as in the following example:

Search-Mailbox user_name -EstimateResultOnly -SearchQuery AttachmentNames:attachment_name

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbnotautohotfix, kbexpertiseinter, kbfix, kb

↑ Back to the top

Article Info
Article ID : 3134894
Revision : 1
Created on : 1/7/2017
Published on : 3/15/2016
Exists online : False
Views : 264