MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Exchange 2016 – Manage auto replies server side

One of the common function that users need is to add auto reply or out of office message to be sent automatically to internal or external sender, that can be managed by local outlook or from exchange server side.

To manage the auto replies using exchange management shell that can be done using the 2 commands “Get-MailboxAutoReplyConfiguration, Set-MailboxAutoReplyConfiguration”

First Get-MailboxAutoReplyConfiguration is used to retrieve all the mailboxes enabled for automatic replies and returns the automatic replies settings for the specified mailbox as the following examples:

  • “Get-Mailbox | Get-MailboxAutoReplyConfiguration” to return automatic replies settings for all mailboxes in the Exchange organization.


  • “Get-MailboxAutoReplyConfiguration -Identity ‘User Mailbox'” to retrieve Automatic Replies settings for specific user mailbox


Then Set-MailboxAutoReplyConfiguration is used to set or disable automatic replies for the user mailbox in the Exchange organization as the following examples:

  • “Set-MailboxAutoReplyConfiguration -Identity “User mailbox” -AutoReplyState Enabled -InternalMessage “Internal auto-reply message.” -ExternalMessage “External auto-reply message.”” To enable automatic replies for a user mailbox internally and externally


  • “Set-MailboxAutoReplyConfiguration -Identity “User mailbox” -AutoReplyState Scheduled -StartTime “01/01/2018 08:00:00” -EndTime “01/01/2018 08:00:00” -InternalMessage “Internal auto-reply message”” to schedule automatic reply for a user mailbox internally to be sent in specific period.


  • “Set-MailboxAutoReplyConfiguration -Identity “User mailbox” -AutoReplyState Disabled” to disable the automatic reply for a user mailbox.



Ratish Nair

Microsoft MVP | Office Servers and Services

Team @MSExchangeGuru


Leave a Reply

ad

Categories

Archives