The Exchange 2007 Wiki

Create Resource Mailbox and configure Autoaccept One-Liner

Description

PowerShell one-liner to create a new resource mailbox and configure the autoaccept settings.  This is accomplished by encapsulating the new-mailbox cmdlet within the set-mailboxcalendarsettings cmdlet.  While this script only covers turning on autoaccepting of meeting requests, you can easily configure any of the other settings controlled by set-mailboxcalendarsettings.

One-Liner

set-mailboxcalendarsettings (New-Mailbox -UserPrincipalName conf@domain.com -alias conf -name ConferenceRoom -database "server\database name" -OrganizationalUnit Users -Room:$True -DisplayName "Conference Room") -automateprocessing:AutoAccept

 

Disclaimer: The sample scripts are meant to serve as examples and may need modifications before they will work in your environment. The authors of the script are not responsible for any negative outcome that may result from using them. 

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 10/25/06 7:00 AM