Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Redirect email from one User to another User in the same Exchange 2010 organization hosting

Posted on 2011-10-04
8
Medium Priority
?
530 Views
Last Modified: 2012-05-12
Hello friends.

A customer asked me now to do the following:

He wants some emails within his organization, also go to the email the Administrator, within the exchange that the console is very simple to do, but now the exchange mode is hosting and everything in powershell is that it complicates the commands are not equal the traditional exchange, it seems that we have to inform the organization before, so he'll find the User.

So I believe the command to something like this here:


Set-Mailbox –Organization “domainclient.com.br” | -ForwardingAddress "Administrator" -DeliverToMailboxAndForward $true -Identity "user"

Powershell but returns this error:

[PS] C:\>Set-Mailbox -Organization "domainclient.com.br" | -ForwardingAddress "Administrator" -DeliverToMailboxAndForward $t
rue -Identity "user"
O termo '-ForwardingAddress' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Ver
ifique a grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
Em linha:1 caractere:71
+ Set-Mailbox -Organization "domainclient.com.br" | -ForwardingAddress <<<<  "Administrator" -DeliverToMailboxAndForward $t
rue -Identity "user"
    + CategoryInfo          : ObjectNotFound: (-ForwardingAddress:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

[PS] C:\>


Helpme, please ?

0
Comment
Question by:welltecnologia
  • 4
  • 4
8 Comments
 
LVL 49

Expert Comment

by:Akhater
ID: 36912572
Set-mailbox -identity "User" –Organization “domainclient.com.br” -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true
0
 

Author Comment

by:welltecnologia
ID: 36912609


Hello Akather

I ran the command, but it seems that the error in interpretation of a part -Organization, see:


[PS] C:\>Set-mailbox -identity "user" -Organization "domainclient.com.br" -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true

Não é possível localizar um parâmetro posicional que aceite o argumento '-Organization'.
    + CategoryInfo          : InvalidArgument: (:) [Set-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-Mailbox

[PS] C:\>
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36912654
right you are try this

get-mailbox -Organization "domainclient.com.br" | Set-mailbox -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:welltecnologia
ID: 36912668
this command but i do not point the User's account.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 2000 total points
ID: 36912688
sorry again !

did you ran that last command ? it would forward all mailboxes of the org to the administrator mailbox

get-mailbox -identity "user" -Organization "domainclient.com.br" | Set-mailbox -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true
0
 

Author Comment

by:welltecnologia
ID: 36912755

Akhater You see, the command worked but this:

get-mailbox -Organization "domainclient.com.br" -identity "user" | Set-mailbox -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true

But now tell me, how do I remove this rule?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36912781
what do you mean by "the command worked but this:" ??? this is the command i gave you

and what you mean by remove ? you mean disable forwarding ?



get-mailbox -Organization "domainclient.com.br" -identity "user" | Set-mailbox -ForwardingAddress:$null
0
 

Author Comment

by:welltecnologia
ID: 36912850
The commands are different, which you sent me is like this:

get-mailbox -identity "user" -Organization "domainclient.com.br" | Set-mailbox -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true

I tried and gave error, so I tried using the command like this here:

get-mailbox -Organization "domainclient.com.br" -identity "user" | Set-mailbox -ForwardingAddress "Administrator@domainclient.com.br" -DeliverToMailboxAndForward:$true

It worked perfectly!

Even to remove the rule, if the customer asks to remove.

Again Congratulations to you all, without you could never solve the problem of my client.

I am very grateful and very happy with the service of you.

thanks Akhater !
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

577 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