How to undo Set-Mailbox -Identity Command

Hello World,

How does one undo the following command in Exchange Management Console:

Set-Mailbox -Identity John -DeliverToMailboxAndForward $true -ForwardingSMTPAddress

I found it on this page:

I was hoping to CLI it like in Cisco. Apparently, its not as easy.

Appreciate the help in advance.

Thanks !
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan ArseneauDevOps EngineerCommented:
set-mailbox John -DeliverToMailboxAndForward $false

Open in new window

MrRogers2Author Commented:
No, that's not correct.

It will not deliver to the mailbox but continue forwarding.

I'd like for it to deliver mail normally but not forward.
Dan ArseneauDevOps EngineerCommented:
set-mailbox John -DeliverToMailboxAndForward $false -ForwardingAddress $null

Open in new window

Sorry for the missed $null.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Please see below url very well define .. Including how to set forwarding  & check status as well.
Viral RathodConsultantCommented:
Turn off Email Automatic Forwarding to internal Recipient

Set-Mailbox John  -ForwardingAddress $Null

Turn off email Automatic Forwarding to External Recipient

Set-Mailbox <Identity>  -ForwardingSmtpAddress $Null
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.