Enable Out of Office thru Powershell
Set-MailboxAutoReplyConfiguration -identity “user@domain.com” –AutoReplyState Scheduled –StartTime “mm/dd/yyyy” –EndTime “mm/dd/yyyy” –ExternalMessage “The mesage you want to be displayed in the reply” -InternalMessage “The mesage you want to be displayed in the reply”
If User needs external OOO as well:
-ExternalAudience:All parameter should be used. Removing Out of office by Exchange Shell: Set-MailboxAutoReplyConfiguration “username@domain.com” –AutoReplyState Disabled –ExternalMessage $null –InternalMessage $null Check the OOO that has been configured: Get-MailoxAutoReplyConfiguration -Identity “username@domain.com” Example formatted in HTML:
Set-MailboxAutoReplyConfiguration -identity "john.doe@domain.com" –AutoReplyState Scheduled –StartTime "02/06/2018" –EndTime "12/31/2018"
–ExternalMessage "<html><head></head><body><p>First line of the reply text.</br>Second line of the reply text</br>Job Title</br>First and
last name</br>Email: youremail@domain.com</br>Phone: 01 23 45 67 89</br></br>" -InternalMessage "<html><head></head><body><p>First line
of the reply text.</br>Second line of the reply text</br>Job Title</br>First and last name</br>Email: youremail@domain.com</br>Phone: 01 23
45 67 89</br></br>" -externalaudience:All
No comments:
Post a Comment