Advanced Query Syntax (AQS) Properties for Exchange Search-Mailbox

I had some trouble finding a list of AQS (Advanced Query Syntax) properties supported by the Exchange Search-Mailbox -SearchQuery parameter. I did find a link mentioned in a comment by Tony Redmond on his article “Using Search-Mailbox to look for items with a specific date” (

  • Advanced Query Syntax (
    • See the “Communications” section for Email-specific properties
    • See the “Everything” section for some additional properties that may be useful for Email

Here are some highlights:

  • from or organizer
  • received or sent
  • subject or title
  • hasattachments, hasattachment
  • attachments or attachment (search for specific file names)
  • to or toname (AQL “Everything” property)
  • size (AQL “Everything” property)

I know I will need this again so here it is :-).


About notesbytom

Keeping technology notes on to free up my mind to solve new problems rather than figuring out the same ones repeatedly :-).
This entry was posted in System Administration and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s