Solved

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

Posted on 2011-03-04
7
1,463 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

OfficeMate Freezes on login or does not load after login credentials are input.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

815 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now