Set Out of Office in Exchange 2010/2013 via the Exchange Management Shell

By |2017-12-11T09:16:12+00:00April 1st, 2014|Exchange|0 Comments

Here’s a quick way you can set Out of Office via the Exchange Management shell for a User

Steps to Set Out of Office

  • Log onto an Exchange Server or onto a machine with the EMS
  • Create a folder to the root of the C Drive called “Support
  • Create 2 txt files named “InternalMessage.txt” and “ExternalMessage.txt” in the Support folder just created
  • Now in the InternalMessage.txt type what you’d like your Internal Out Of Office to be
  • And in the ExternalMessage.txt type what you’d like your External Out Of Office to be

  • Now Run the Below commands to Set the Out of Office replies you created , be sure to change the User in Bold to the one you need to set OOF on

     

$internalmessage = get-content C:Supportinternalmessage.txt

$Externalmessage = get-content C:Supportexternalmessage.txt

Set-MailboxAutoReplyConfiguration User -AutoReplyState enabled -ExternalAudience all -InternalMessage $InternalMessage -ExternalMessage $ExternalMessage

  • Now the users OOF will be set and turned on J

 

If you wish to turn Out of Office off, simply run “Set-MailboxAutoReplyConfiguration User -AutoReplyState disabled” J

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.