Using a date range search

The following table outlines the properties that can be used to define an AQS query using a date range restriction:

Property

Example

Description

Received

Received:today

Received:04/22/2011

Received:01/01/2011..04/01/2011

Searches for items received today

Searches for items received on April 22

Searches for items received between January 1 and April 1

Sent

Sent:today

Sent:01/22/2011

Searches for items sent today

Searches for items sent on January 22

You can use relative dates when performing a date range restricted search. For example, today, tomorrow, or yesterday can be used with the Received or Sent keywords.

You can use a specific day of the week: (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.