Exchange Server 2013 SP1 - How to create Resource Mailbox on powershell?

Hi,

I'm having a hard time trying to create a resource mailbox. The "Resource" page on ECP doesn't have the option to create (probably after the SP1 update deploy) so I'm trying to create on Powershell. The problem is that the help examples doesn't work, and I can't find it online either. It seems that with SP1 the command or the parameters changed.

Here's an example (get-help new-mailbox -examples): 

New-Mailbox -UserPrincipalName confmbx@contoso.com -Alias confmbx -Name ConfRoomMailbox -Database "Mailbox 
    Database 1" -OrganizationalUnit Users -Room -ResetPasswordOnNextLogon $true

A parameter cannot be found that matches parameter name 'UserPrincipalName'

There's a lot of parameters that cannot be found. Any help would be much appreciated.

February 2nd, 2015 11:48am

Try this:

In PS Command:

New-Mailbox -Database DB2013 Name ConferenceRoom1 OrganizationalUnit Resourse -DisplayName ConferenceRoom1 Room

To verify if the Room mailbox created:

Get-Mailbox ConferenceRoom1 | FL Name, RecipientTypeDetails, PrimarySmtpAddress

http://msexchangeguru.com/2014/05/28/room-mailboxes-room-lists/

Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 1:27pm

I tried, but it didn't work:

A parameter cannot be found that matches parameter name 'Database'

The parameters "Database", "OrganizationalUnit",  "DisplayName" and "Room" give the same error. The best we could do is:

New-Mailbox -Name "Test" -EnableRoomMailboxAccount $true
Supply values for the following parameters:
Room:
Cannot convert 'System.String' to the type 'System.Management.Automation.SwitchParameter' required by parameter
'Room'.
    + CategoryInfo          : InvalidArgument: (:) [New-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.Exchange.Management.RecipientTasks.NewMailbox

February 2nd, 2015 2:07pm

Hi,

From your description, I recommend you follow the steps below to check if the inherit parent permission is enabled.

On User OU, right click the OU -> Properties -> Security -> Advanced -> enable inheritance

Hope this can be helpful to you.

Best regards,

If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 1:49am

Hi Amy, yes I have inherit parent permission enabled. I got the answer on another forum:

On EAC, I didn't have permission to create rooms (I thought that it was EAC problem after update), so Willian V Chen suggested:

EAC:

Permissions > admin roles > organization management > check roles > check if Mail Recipient Creation is in the roles list.


February 5th, 2015 5:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics