Skip to content

OOO out of office message

About:

Set an “ooo” out of office message with a time to start and end.

And set a disable one too.

 

Apply to all exchange versions including O365

 

 

Note:

The date in the code below is in the following format:

MM/DD/YYYY

 

 

 

Code – Enable OOO with a time to end:

Set-MailboxAutoReplyConfiguration -Identity HoldenSecurityInfo@resultsdirect.com.au -AutoReplyState Scheduled `

`

-StartTime “09/24/2021 08:00:00” -EndTime “09/24/2021 18:00:00” `

`

-InternalMessage “Hi,<br>

<br>

Thank you for your email. <br>

<br>

Today is a public holiday in VIC. <br>

<br>

We will respond to your email on Monday, 27th September 2021. We apologise for the inconvenience.<br>

<br>

Thank you.<br>

<br>

<br>

Regards,<br>

Holden Security Info Support Team <br>” `

`

-ExternalMessage “Hi,<br>

<br>

Thank you for your email. <br>

<br>

Today is a public holiday in VIC. <br>

<br>

We will respond to your email on Monday, 27th September 2021. We apologise for the inconvenience.<br>

<br>

Thank you.<br>

<br>

<br>

Regards,<br>

Holden Security Info Support Team <br>” `

 -ExternalAudience all

 

 

 

 

Code – Disable OOO message:

Set-MailboxAutoReplyConfiguration -Identity minat@resultsdirect.com.au -AutoReplyState disabled