Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-MailboxAutoReplyConfiguration cmdlet to retrieve Automatic Replies settings for a specific mailbox.

Get-MailboxAutoReplyConfiguration -Identity <MailboxIdParameter> [-Credential <PSCredential>] [-DomainController <Fqdn>] [-ReadFromDomainController <SwitchParameter>] [-ResultSize <Unlimited>]

Parameter Required Type Description




The Identity parameter specifies a unique identifier associated with a mailbox. Accepted values for the mailbox are as follows:

  • GUID
  • ADObjectID
  • Distinguished name (DN)
  • Domain\Account
  • User principal name (UPN)
  • LegacyExchangeDN
  • SmtpAddress
  • Alias




This parameter requires the creation and passing of a credential object. This credential object is created by using the Get-Credential cmdlet. For more information, see Get-Credential.




The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.




The ReadFromDomainController parameter specifies that the user information is read from a domain controller in the user's domain. If you set the recipient scope to include all recipients in the forest, and if you don't use this parameter, it's possible that the user information is read from a global catalog with outdated information. If you use this parameter, multiple reads might be necessary to get the information.

By default, the recipient scope is set to the domain that hosts your servers that run Microsoft Exchange.




The ResultSize parameter specifies the maximum number of settings to return. If you want to return all settings that match the command, use unlimited for the value of this parameter.

You can use the Get-MailboxAutoReplyConfiguration cmdlet to retrieve all the mailboxes enabled for Automatic Replies. When run, the cmdlet returns Automatic Replies settings for the specified mailbox that include the following:

  • Mailbox identity value
  • Whether Automatic Replies is enabled, scheduled, or disabled for the mailbox
  • Start and end date, time during which Automatic Replies will be sent
  • Whether external senders receive Automatic Replies (none, known senders, or all)
  • Automatic Replies message to be sent to internal and external senders

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "User options" entry in the Client Access Permissions topic.

Error Description


This example returns Automatic Replies settings for all mailboxes in the Exchange organization.

Get-Mailbox | Get-MailboxAutoReplyConfiguration 

This example retrieves Automatic Replies settings for Tony's mailbox at contoso.com.

Get-MailboxAutoReplyConfiguration -Identity 'contoso.com/Users/Tony Smith'

This example retrieves all Automatic Replies settings for all mailboxes in the Exchange organization.

Get-Mailbox | Get-MailboxAutoReplyConfiguration -ResultSize unlimited
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft