locked
cmdlet export mailbox rules RRS feed

  • Question

  • is there a cmdlet to export outlook mailbox rules from server itself ?

    Aditya Mediratta

    Wednesday, July 8, 2015 8:57 PM

Answers

  • Hi,

    To manage inbox rules from server side, some cmdlets like Get-InboxRule/ Set-InboxRule ect are the only available commands. And yes, they cannot export/import inbox rules.

    Perhaps you may consider to use Get-InboxRule to export these contents of inbox rules from Exchange online, then use Set-InboxRule cmdlet to set the same inboxrules one by one. If there are a large of mailboxes, there will be lots of work to do.

    I suggest to inform users of exporting inbox rules from client sides.

    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

    Lynn-Li
    TechNet Community Support

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:31 AM
    Thursday, July 9, 2015 8:05 AM
    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:30 AM
    Wednesday, July 8, 2015 9:02 PM
  • Agree with Thomas, you can use Get-InboxRule to see what is set in any rule and export the output.

    It gives you all the details except the action that is set to run on client level, aka Client Only rules (for example, if mail received from soneone, play a sound or start an application)


    Amit Tank | Exchange - MVP | Blog: exchangeshare.wordpress.com 

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:30 AM
    Wednesday, July 8, 2015 10:19 PM

All replies

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:30 AM
    Wednesday, July 8, 2015 9:02 PM
  • Agree with Thomas, you can use Get-InboxRule to see what is set in any rule and export the output.

    It gives you all the details except the action that is set to run on client level, aka Client Only rules (for example, if mail received from soneone, play a sound or start an application)


    Amit Tank | Exchange - MVP | Blog: exchangeshare.wordpress.com 

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:30 AM
    Wednesday, July 8, 2015 10:19 PM
  • My idea was to export the rules and import it back.. we recently off-boarded few users from O365 however there is some corruption in process  , Idea was to export their PST and rules and import back on new mailbox on on-premises exchange..I a not sure how this cmdlet would allow me to import back rules as it only gets and not exports rules..please suggest ?

    Aditya Mediratta

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Unproposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    Thursday, July 9, 2015 4:48 AM
  • Hi,

    To manage inbox rules from server side, some cmdlets like Get-InboxRule/ Set-InboxRule ect are the only available commands. And yes, they cannot export/import inbox rules.

    Perhaps you may consider to use Get-InboxRule to export these contents of inbox rules from Exchange online, then use Set-InboxRule cmdlet to set the same inboxrules one by one. If there are a large of mailboxes, there will be lots of work to do.

    I suggest to inform users of exporting inbox rules from client sides.

    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

    Lynn-Li
    TechNet Community Support

    • Proposed as answer by Amit Tank Saturday, July 11, 2015 1:41 AM
    • Marked as answer by Lynn-Li Tuesday, July 21, 2015 1:31 AM
    Thursday, July 9, 2015 8:05 AM
  • Thanks all for your time and support.

    Aditya Mediratta

    Friday, July 10, 2015 5:57 AM