Solved

Automated Out of Office message for all employees

Posted on 2014-09-09
3
8 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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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.

771 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

10 Experts available now in Live!

Get 1:1 Help Now