Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

New-Mailbox throws exception

$
0
0

If I try to create the a new mailbox with the following PowerShell-cmdlet:

New-Mailbox -Database 'MailboxDatabase' -OrganizationalUnit 'OU' -Name "ResourceName" -DisplayName "ResourceDisplayName" -Equipment -ResourceCapacity <Capacity>


it throws the following exception:

Parameter set cannot be resolved using the specified named parameters.    + CategoryInfo          : InvalidArgument: (:) [New-Mailbox], ParameterBindingException    + FullyQualifiedErrorId : AmbiguousParameterSet,New-Mailbox    + PSComputerName        : <mailserver>


Is this intended behaviour? It seems like a bug in the cmdlet.

Exchange setup:

AdminDisplayVersion: Version 15.0 (Build 1130.7)

ServerRole: Mailbox, ClientAccess

PowerShell setup:

NameValue

---------
PSVersion5.0.10240.16384
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion4.0.30319.42000
BuildVersion10.0.10240.16384
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion2.3


Viewing all articles
Browse latest Browse all 8719

Trending Articles