When my users go on vacation, they often forget to set their Exchange 2010 out of office messages. Subsequently,...
many of them request that we log into their mailboxes and set up the messages on their behalf. I'm not comfortable going into their mail. Is there another way I can set up the OOO message without logging in?
No matter which method you choose, you must first make sure that your administrative account has the correct permissions. To start, create a role group via role based access control (RBAC) and name it "OOF_Management." Next, assign the User Options role to the group. Now add your administrative account to the Members section (Figure 1).
Configuring Exchange 2010 out of office messages: The EMS method
Now that you've configured your RBAC role group and role, you can start in on the Exchange Management Shell (EMS) method. I will explain the Exchange Control Panel method shortly.
To begin, create a PS1 script (a text file with a .ps1 extension) on a workstation or Exchange server within your domain. Execute the script below from a PowerShell window and follow the prompts.
Note: Make sure to change the $ConnectionURI constant at the top of the script to match the Exchange server in your infrastructure.
# Sample script for setting OOF using PSRemoting and a dedicated RBAC role Version 1.0 #> # Make sure that you set the $ConnectionURI (below) to one of your Exchange Servers. $ConnectionURI = "http://prod-ex2010-01/PowerShell/" # The following establishes the remote PS Session to the Exchange Server. It will prompt for credentials - you should supply Creds for accounts that are part of the OOF_Management RBAC role. The session will then be imported. #> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionURI $ConnectionURI -Authentication Kerberos -Credential (Get-Credential) Import-PSSession $Session # Get the relevant OOF information. $Mailbox = Read-Host "Please specify the Mailbox." $InternalMessage = Read-Host "Please specify the internal message" $ExternalMessage = Read-Host "Please specify the external message" # Use the "Set-MailboxAutoReplyConfiguration" cmdlet to enable and configure the OOF information. Set-MailboxAutoReplyConfiguration -Identity $Mailbox -AutoReplyState Enabled -InternalMessage "$InternalMessage" -ExternalMessage "$ExternalMessage" # Tear down the remote PS Session. Remove-PSSession $Session
Configuring Exchange 2010 out of office messages: The ECP method
As mentioned previously, you can also use the Exchange Control Panel to configure Exchange 2010 out of office messages.
Now, sign into the ECP using the account that you created and included as part of the aforementioned RBAC role group. Navigate to Mail -> Options: -> Manage My Organization -> Another User.
You will now see the Select Mailbox dialog box. Locate the user who forgot to set his out of office message (Figure 2).
You will now see a properties box. Click on Shortcuts to other things you can do section, then click on Tell people that you are on vacation (Figure 3).
ABOUT THE EXPERT
Andy Grogan, an Exchange MVP based in the U.K., has worked in the IT industry for the last 14 years -- primarily with Microsoft, HP and IBM technologies. His main passion is Exchange Server, but he also specializes in Active Directory, SQL Server and storage solutions. Andy is currently working for a large council in West London as the Networks and Operations Manager supporting 6,000 customers on more than 240 sites. Visit Andy's website at www.telnetport25.com/.
Dig Deeper on Microsoft Exchange Server User Settings
Related Q&A from Andy Grogan, Contributor
With hosted Exchange email deployment chatter increasing daily, it's crucial to separate fact from fiction when it comes to security and reliability.continue reading
An Office 365 outage may be widespread or unique to your deployment. Discover how to find out, as well as the best ways to prepare your organization.continue reading
A coexistence period is an important part of any Exchange Server migration -- but why? Our expert explains.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.