Another possibility with the powershell command-lets in Exchange 2010 is to change the "Out of Office" aka "Mailbox Auto Reply" settings.
The "Get-MailboxAutoReplyConfiguration" and "Set-MailboxAutoReplyConfiguration" can be used to view the current auto reply settings and change the message etc that is sent.
You can also have seperate internal and external out of office messages.



View the current auto reply settings for a mailbox:
Here there has been no message set.
Get-MailboxAutoReplyConfiguration "andy barnes"

RunspaceId       : b1531019-f59a-45aa-9176-3033ca169444
AutoReplyState   : Disabled
EndTime          : 03/08/2010 17:00:00
ExternalAudience : All
ExternalMessage  :
InternalMessage  :
StartTime        : 02/08/2010 17:00:00
MailboxOwnerId   : domain.local/New York/Andy Barnes
Identity         : domain.local/New York/Andy Barnes
IsValid          : True 
 

Set the auto reply settings for a mailbox:
With seperate internal and external messages
Set-MailboxAutoReplyConfiguration -identity "andy barnes" -AutoReplyState enabled -EndTime 03/08/2010 -InternalMessage "I am currently out of the office on until Tuesday 4rd August due to
partying and so forth. Please could all enquiries be directed to ext 123 and emails be sent to This email address is being protected from spambots. You need JavaScript enabled to view it." -ExternalMessage "I am currently out of the office on until Tuesday 4rd August. Please could all enquiries be directed to ext 123 and emails be sent to This email address is being protected from spambots. You need JavaScript enabled to view it."

 

View the current auto reply settings for a mailbox:
Here you can see the message we have just set. Notice the internal message is different to the external message so that you can include further details to colleagues, that you might not want external contacts to know.
Get-MailboxAutoReplyConfiguration "andy barnes"

RunspaceId       : b1531019-f59a-45aa-9176-3033ca169444
AutoReplyState   : Enabled
EndTime          : 03/08/2010 16:00:00
ExternalAudience : All
ExternalMessage  : <html>
                   <body>
                   I am currently out of the office on until Tuesday 4rd August. Please could all enquiries be directed to ext 123 and emails be sent to This email address is being protected from spambots. You need JavaScript enabled to view it.</body>
                   </html>
 
InternalMessage  : <html>
                   <body>
                   I am currently out of the office on until Tuesday 4rd August due to partying and so forth. Please could all enquiries be directed to ext 123 and emails be sent to This email address is being protected from spambots. You need JavaScript enabled to view it.</body>
                   </html>
 
StartTime        : 02/08/2010 16:00:00
MailboxOwnerId   : domain.local/New York/Andy Barnes
Identity         : domain.local/New York/Andy Barnes
IsValid          : True


Disable Out of Office/Auto Reply:

Set-MailboxAutoReplyConfiguration "andy barnes" -AutoReplyState disabled



Disable Out of Office/Auto Reply and clear the Internal/External message:

Set-MailboxAutoReplyConfiguration -identity "andy barnes" -AutoReplyState disabled -InternalMessage "" -ExternalMessage ""



Share this blog post on social media:

Social Links

Disclaimer

All advice, installation/configuration how to guides, troubleshooting and other information on this website are provided as-is with no warranty or guarantee. Whilst the information provided is correct to the best of my knowledge, I am not reponsible for any issues that may arise using this information, and you do so at your own risk. As always before performing anything; check, double check, test and always ensure you have a backup.

Copyright ©2008-2021 Andy Barnes - Please do not copy any content including images without prior consent!

Designed and Hosted by Andy Barnes

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.