tonyg01
asked on
Is this Cmdlet valid for SBS 2011 ? and if yes whats wrong
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:Strin g) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Does anyone have a thought on this ?
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:Strin
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Does anyone have a thought on this ?
ASKER
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 ...
Im new to this power shell thing ...
Just copy paste the command...post the error recevied.
ASKER
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:Strin
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\JonHall> ExtendedRights Receive-As, ms-Exch-Store-Admin
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:
https://www.experts-exchange.com/questions/26715344/BES-Setup-unable-to-run-Exchange-2010-cmdlets.html
Also refer this:
https://www.experts-exchange.com/questions/26715344/BES-Setup-unable-to-run-Exchange-2010-cmdlets.html
ASKER
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 ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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