itigroup
asked on
Error in Blackberry enterprise server install with exchange 2007
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.ITI GROUP>get- mailboxser ver 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.ITI GROUP>get- mailboxser ver "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.ITI GROUP>
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.ITI
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.ITI
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.ITI
ASKER
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.ITI GROUP>Add- ExchangeAd ministrato r
-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.ITI GROUP>Add- ExchangeAd ministrato r
-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.ITI GROUP>
I have setup BESAdmin in AD and a mailbox in Exchange 2007.
What could I be doing wrong?
[PS] C:\Documents and Settings\Administrator.ITI
-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.ITI
-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.ITI
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you so much, that did the trick.
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.