• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1330
  • Last Modified:

Having trouble witg cmlets SBS 2011 Exchange

Trying to give the BESAdmin permissions as directed the Blackberry Configuration guide which is listed below, I get the error below, any thoughts on why, should I remove the qoutes around BESAdmin ?
 
PS] C:\Windows\system32>Get-mailboxDatabase | Add-ADPermission -User"BESAdmin" -AccessRights ExtendedRight -ExtendedRights-As,ms-Exch-Store-Admin

A positional parameter cannot be found that accepts argument '-ExtendedRights-As ms-Exch-Store-Admin'.
    + CategoryInfo          : InvalidArgument: (:) [Add-ADPermission], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Add-ADPermission
0
tonyg01
Asked:
tonyg01
  • 2
1 Solution
 
Cliff GaliherCommented:
The problem is with your final flags. there is no "-ExtendedRights-As" parameter.

Trim the "-as" off that parameter, add a space, and make sure all rights listed are listed (these changed slightly with Exchange 2010, so don't follow SBS 2008/Exchange 2007 documentation) and the command will work. I don't have the Ex2010 documentation handy or I'd provide the full syntax here.

Essentially though, no the problem is not the quotes, it is that final parameter.

-Cliff

http://technet.microsoft.com/en-us/library/bb124403.aspx
0
 
AkhaterCommented:
I am afraid the command is not correct try the below
Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

Open in new window

0
 
AkhaterCommented:
i am sorry although the command described above works it is not the one you need. You are still missing the send as for bes, i did give you the full command
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now