Solved

Automated Out of Office message for all employees

Posted on 2014-09-09
3
14 Views
Last Modified: 2016-06-13
My boss is requesting that all employees have an out of office kick in automatically at 5pm every week day and all weekend.  I've been digging through group policy/office policy and also trying work arounds in scheduled tasks, but I have not been able to find any way to accomplish this.

We are running Exchange 10 and Outlook 10, and Windows Server 8.
0
Comment
Question by:aldridgesupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
George Sas earned 500 total points
ID: 40312945
Well, I guess you must use a Powershell script that you will schedule to run every day once at 5pm every day excluding weekend and one scheduled to run at 7-8am when the users get in.

You can use Set-MailboxAutoReplyConfiguration with a CSV file for all the users.

Example:
$Users = Get-Content C:\Scripts\Users.txt

$(foreach ($User in $Users) {

Set-MailboxAutoReplyConfiguration $User -AutoReplyState Enabled –ExternalMessage “Out of office testing” –InternalMessage “Out of office testing..”

})

-----------

Here is an example :
http://autonomicdreams.com/2013/07/set-out-of-office-for-multiple-users/

You can Google a bit for Set-MailboxAutoReplyConfiguration and you will find plenty of examples.
0
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40313132
Instead of a list you could use

$Users = Get-ADUser -Filter * -Server yourdomain.local | Select-Object samaccountname

or you could add all users that you want to enable this for to a group and then use

$Users = Get-ADGroupMember -Identity "Group" | Select-Object samaccountname
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question