Skype Exchange 4U

Microsoft Skype Exchange Server Blog

Set out of office using Exchange PowerShell

Run the below command to set an OOO message for a user using Exchange Powershell.

  1. The below command will set the OOO message without a schedule time
  2. Set-MailboxAutoReplyConfiguration -identity "username" –AutoReplyState Enabled –ExternalMessage “I am OOO” -InternalMessage “I am OOO”
  3. The below command will set the OOO message with a schedule time
  4. Set-MailboxAutoReplyConfiguration -identity "username" –AutoReplyState Scheduled –StartTime “09/30/2017” –EndTime “10/02/2017” –ExternalMessage “I am OOO” -InternalMessage “I am OOO” 

how to check if OOO is set properly or not using the command.

Get-MailboxAutoReplyConfiguration -Identity "Username"

To remove the OOO message, we can use the below command.

Set-MailboxAutoReplyConfiguration "Username" –AutoReplyState Disabled –ExternalMessage $null –InternalMessage $null

Thanks