Solved

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

Posted on 2011-03-04
7
1,465 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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 125 total points
ID: 35043025
Go to Program> Microsoft Exchange > Exchange Management Shell
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

830 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