Out Of Office Powershell Script
Posted on 2011-09-27
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.