Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Out Of Office Powershell Script

Posted on 2011-09-27
1
Medium Priority
?
1,576 Views
Last Modified: 2012-05-12
Hi,

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.

Requirement:

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

Purpose:

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.
0
Comment
Question by:AWGMorrison
1 Comment
 
LVL 9

Accepted Solution

by:
MNH1966 earned 2000 total points
ID: 36709595
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

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

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
Often, the users face difficulty in accessing Outlook 2016 PST files on Windows 10 computer. One of the reasons behind it is the improper functioning of MS Outlook when the user tries to open it. MS Outlook suddenly stops working, or it will not op…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

580 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