locked
Exchange Shell to identify any mailboxes that have forwarding rule in place to a specific mailbox RRS feed

  • Question

  • Hi, Guys.

    Need your assistance on this.

    Could you please let me know Exchange Shell to identify any mailboxes that have forwarding rule in place to a specific mailbox for Exchange 2007 environment? Please advise.

    Thank you.

    Wednesday, April 20, 2016 7:01 AM

Answers

  • There is no Exchange 2007 cmdlet that gets mailbox rules that I'm aware of.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    • Proposed as answer by Niko.Cheng Thursday, April 21, 2016 8:32 AM
    • Marked as answer by Niko.Cheng Friday, May 6, 2016 2:48 AM
    Wednesday, April 20, 2016 12:52 PM
  • Hi IrwinBats,

    What does "forwarding rule" means? It refers to Outlook inbox rule or mailbox's setting?

    If Outlook inbox rule, as Ed mentioned above, there is no exchange shell command could get inbox rule.

    If Mailbox's setting, you can try the following command and check if any helps:

    Get-mailbox -Resultsize unlimited |where-object{($_.DeliverToMailboxAndForward -eq "$true") and($_.ForwardingAddress -ne "$null")}
    Best regards,

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Niko Cheng
    TechNet Community Support

    • Marked as answer by Niko.Cheng Friday, May 6, 2016 2:48 AM
    Thursday, April 21, 2016 9:12 AM

All replies

  • There is no Exchange 2007 cmdlet that gets mailbox rules that I'm aware of.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    • Proposed as answer by Niko.Cheng Thursday, April 21, 2016 8:32 AM
    • Marked as answer by Niko.Cheng Friday, May 6, 2016 2:48 AM
    Wednesday, April 20, 2016 12:52 PM
  • Hi IrwinBats,

    What does "forwarding rule" means? It refers to Outlook inbox rule or mailbox's setting?

    If Outlook inbox rule, as Ed mentioned above, there is no exchange shell command could get inbox rule.

    If Mailbox's setting, you can try the following command and check if any helps:

    Get-mailbox -Resultsize unlimited |where-object{($_.DeliverToMailboxAndForward -eq "$true") and($_.ForwardingAddress -ne "$null")}
    Best regards,

    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Niko Cheng
    TechNet Community Support

    • Marked as answer by Niko.Cheng Friday, May 6, 2016 2:48 AM
    Thursday, April 21, 2016 9:12 AM