troubleshooting Question

How do I remove Forwarding Address using the Exchange Management Shell?

Avatar of itcs-css
itcs-css asked on
Exchange
10 Comments2 Solutions10648 ViewsLast Modified:
I want to change the ForwardingAddress parameter on an Exchange 2007 mailbox to stop forwarding. I want to use the Exchange Management Shell to do this.  I know how to do this using the Exchange Management Console, but I would like to be able to issue this command from the shell if possible.

For example I can setup the forward by simply issuing this command in the EMS:

Set-Mailbox -Identity "John Smith" -ForwardingAddress "sara@contoso.com"

I want to do something like:

Set-Mailbox -Identity "John Smith" -ForwardingAddress $none or $false

or

Set-Mailbox -Identity "John Smith" -RemoveForwardingAddress "sara@contoso.com"

Clearly the last two examples don't work, but I think they give you an idea of what I'm trying to accomplish.  I want to issue a command and then have the ForwardingAddress parameter be blank.

Thanks,
ITCS-CSS
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros