Solved

Automated Out of Office message for all employees

Posted on 2014-09-09
3
9 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now