Does Exchange Server store out-of-office/automatic replies in a human-readable form on the filesystem when set?
Solution 1:
How did you configure OOF/Automatic reply for your mailbox? Automatic Replies settings in Account Information in Outlook?
If so, we could run the following command to preview the OOF settings configured by Outlook:
Get-MailboxAutoReplyConfiguration -Identity "<MailboxIdentity>" | Select-Object AutoReplyState, StartTime, EndTime, ExternalMessage, InternalMessage
( If the AutoReplyState
showed Enabled
, the OOF settings were configured without a specific period. If it showed Scheduled
, the OOF settings were configured with a specific period. )
And you could add a cmdlet behind the above command to export the external/internal OOF message to a .html file for preview:
Get-MailboxAutoReplyConfiguration -Identity "<MailboxIdentity>" | Select-Object ExternalMessage, InternalMessage | Export-Csv C:\Users\<UserName>\Desktop\OOFMessage.html