Solved

Automated Out of Office message for all employees

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Read this checklist to learn more about the 15 things you should never include in an email signature.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

821 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