Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is this Cmdlet valid for SBS 2011 ? and if yes whats wrong

Posted on 2011-03-04
7
Medium Priority
?
1,475 Views
Last Modified: 2012-05-11
Trying to set ths blackberry Server up, and give BESAdmin the correct permissions provided in thier article , the info im given is

Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -
ExtendedRights Receive-As, ms-Exch-Store-Admin

After removing the qoutes and the bar and pasting it into the Powershell, I get

PS C:\Users\xyzuser> Get-MailboxDatabase Add-ADPermission -User BESAdmin -Access
Rights ExtendedRight -
The term 'Get-MailboxDatabase' is not recognized as the name of a cmdlet, funct
ion, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:20
+ Get-MailboxDatabase <<<<  Add-ADPermission -User BESAdmin -AccessRights Exten
dedRight -
    + CategoryInfo          : ObjectNotFound: (Get-MailboxDatabase:String) [],
    CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Does anyone have a thought on this ?
0
Comment
Question by:tonyg01
  • 4
  • 3
7 Comments
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 35037520
Pipe is missing in the command.

Please use this command:
Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin

Also refer this:
http://docs.blackberry.com/en/admin/deliverables/12142/Configure_Exchange_10_perms_for_Exchange_account_962758_11.jsp
0
 

Author Comment

by:tonyg01
ID: 35037629
I used the syntax provided by blackberry even named my user name BESAdmin and it was rejected when I pasted it in place  gave me the error not reconized are the qoutes require around  "BESAdmin"

Im new to this power shell thing ...

0
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 35037666
Just copy paste the command...post the error recevied.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

Author Comment

by:tonyg01
ID: 35037730


Ok I copied it and pasted, here are the results  ...


PS C:\Users\Username> Get-MailboxDatabase | Add-ADPermission -User "BESAdmin" -Ac
cessRights ExtendedRight -
The term 'Get-MailboxDatabase' is not recognized as the name of a cmdlet, funct
ion, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:20
+ Get-MailboxDatabase <<<<  | Add-ADPermission -User "BESAdmin" -AccessRights E
xtendedRight -
    + CategoryInfo          : ObjectNotFound: (Get-MailboxDatabase:String) [],
    CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\JonHall> ExtendedRights Receive-As, ms-Exch-Store-Admin
0
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 35037818
First copy the command to a notepas and remove all the entre and then copy & paste from the notepad to command shell.

Also refer this:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_26715344.html
0
 

Author Comment

by:tonyg01
ID: 35038230
Reading your solution I think the problem is im using the powershell, when I should be using the exchange management shell how do I get to  that ?
0
 
LVL 34

Accepted Solution

by:
Shreedhar Ette earned 500 total points
ID: 35043025
Go to Program> Microsoft Exchange > Exchange Management Shell
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

886 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