Out Of Office Powershell Script

Posted on 2011-09-27
Medium Priority
Last Modified: 2012-05-12

The requirements are below. The actual powershell command is easy enough, I think. The bit I am struggling with is what needs to go around it to make it into a script.

Thanks for your help.


Create a script utilising the Exchange 2010 Management Shell (EMS) which will set an Out of Office reply on a user's mailbox using the following inputs:

1.         User account name
2.         Internal Out of Office reply
3.         External Out of Office reply
4.         Start date for Out of Office reply
5.         End date for Out of Office reply


Using the Exchange 2010 Management Shell (EMS) Out of Office replies can be configured on a user's mailbox without the rigmarole of assigning permissions, logging in as a user and setting the Out of Office reply on their behalf. This involves a significant amount of administrative effort at present which could be greatly reduced through the creation of a script to be used by Exchange administrators.
Question by:AWGMorrison
1 Comment

Accepted Solution

MNH1966 earned 2000 total points
ID: 36709595

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

You have missed a phone call. The number looks like it belongs to the bunch of numbers which your company uses. How to find out who has just called you?
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…

600 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