Configure Exchange Server 2016 Mailbox Auto Reply Using PowerShell

This article will show you how to configure Mailbox Auto Replay or Out Of Office replay (OOF) using Exchange Server 2016 PowerShell.

This is a new feature that Is only available on exchange Server 2016 or Office 365.

I’ll run this configuration on a user called Test01 and In the snap below you can see how the OOF looks before

To set auto reply I’ll run the cmdlet below from Exchange PowerShell.

Set-MailboxAutoReplyConfiguration -Identity test01 -AutoReplyState Scheduled -StartTime "1/1/2016 08:00:00" -EndTime "3/3/2016 17:00:00" -InternalMessage "OOF Message" -ExternalMessage "OOF Message"

This is how the OOF message looks after I ran the cmdlet.



To disable OOF using PowerShell type:

Set-MailboxAutoReplyConfiguration test01 -AutoReplyState Disabled

To check the status type:

Get-MailboxAutoReplyConfiguration test01