Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Having trouble witg cmlets SBS 2011 Exchange

Posted on 2011-03-07
3
Medium Priority
?
1,317 Views
Last Modified: 2012-05-11
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
Comment
Question by:tonyg01
  • 2
3 Comments
 
LVL 60

Accepted Solution

by:
Cliff Galiher earned 1000 total points
ID: 35063697
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
 
LVL 49

Expert Comment

by:Akhater
ID: 35065728
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
 
LVL 49

Expert Comment

by:Akhater
ID: 35091869
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

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question