Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Error in Blackberry enterprise server install with exchange 2007

Posted on 2007-12-05
4
Medium Priority
?
1,752 Views
Last Modified: 2010-08-05
I am install BES back into my network after upgrading to Exchange 2007.

Both BES and Exchange are fresh installs.

I have hit a snag with the BES install, I have been give a shell script to run and keep getting an error, details of the script and error are below.

You will notice I have 2 versions of the script one with quotes around the server and user names and one without quotes. I have done this because I have to different sets instructions with and without the quotes.

Does anyone have any suggestions on what I am doing wrong?

[PS] C:\Documents and Settings\Administrator.ITIGROUP>get-mailboxserver kyle |
dd-exchangeadministrator BESAdmin -role ViewOnlyAdmin

Add-ExchangeAdministrator : The input object cannot be bound to any parameters
for the command either because the command does not take pipeline input or the
input and its properties do not match any of the parameters that take pipeline
input.
At line:1 char:51
+ get-mailboxserver kyle | add-exchangeadministrator  <<<< BESAdmin -role ViewOnlyAdmin

[PS] C:\Documents and Settings\Administrator.ITIGROUP>get-mailboxserver "kyle"
 add-exchangeadministrator "BESAdmin" -role ViewOnlyAdmin

Add-ExchangeAdministrator : The input object cannot be bound to any parameters
for the command either because the command does not take pipeline input or the
input and its properties do not match any of the parameters that take pipeline
input.
At line:1 char:53
+ get-mailboxserver "kyle" | add-exchangeadministrator  <<<< "BESAdmin" -role ViewOnlyAdmin
[PS] C:\Documents and Settings\Administrator.ITIGROUP>
0
Comment
Question by:itigroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:mass2612
ID: 20417778
Hi,

I think the command you are after would be: -

Add-ExchangeAdministrator -Identity Domain\BesAdmin -Role ViewonlyAdmin

The Exchange Admin is a Org wide role so I don't think you can specify a server. The Get-ExchangeAdministrator will list the members.
0
 

Author Comment

by:itigroup
ID: 20417871
I must have set the user up incorrectly, because I am getting the following error.

I have setup BESAdmin in AD and a mailbox in Exchange 2007.

What could I be doing wrong?

[PS] C:\Documents and Settings\Administrator.ITIGROUP>Add-ExchangeAdministrator
-ITIGROUP\BesAdmin -Role ViewonlyAdmin
Add-ExchangeAdministrator : A parameter cannot be found that matches parameter
name 'ITIGROUP\BesAdmin'.
At line:1 char:45
+ Add-ExchangeAdministrator -ITIGROUP\BesAdmin  <<<< -Role ViewonlyAdmin
[PS] C:\Documents and Settings\Administrator.ITIGROUP>Add-ExchangeAdministrator
-ITIGROUP\BESAdmin -Role ViewonlyAdmin
Add-ExchangeAdministrator : A parameter cannot be found that matches parameter
name 'ITIGROUP\BESAdmin'.
At line:1 char:45
+ Add-ExchangeAdministrator -ITIGROUP\BESAdmin  <<<< -Role ViewonlyAdmin
[PS] C:\Documents and Settings\Administrator.ITIGROUP>
0
 
LVL 29

Accepted Solution

by:
mass2612 earned 2000 total points
ID: 20418113
Try: -

Add-ExchangeAdministrator -Identity "ITIGROUP\BesAdmin" -Role ViewonlyAdmin
0
 

Author Closing Comment

by:itigroup
ID: 31413087
Thank you so much, that did the trick.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

New style of hardware planning for Microsoft Exchange server.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
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…

719 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