locked
Disable all Inbox Rules RRS feed

  • Question

  • get-inboxrule -mailbox %Mailbox% lists multiple rules. How can you disable all of them quickly? I think you would use ForEach on the RuleIdentity property.
    Tuesday, May 22, 2018 12:29 AM

Answers

  • Ah, I tested without any parameters and it applied to all. Much easier than I thought, thank you!

    Get-InboxRule -Mailbox accounts.payable | Disable-InboxRule


    • Edited by PatrickJ91 Tuesday, May 22, 2018 3:32 PM
    • Marked as answer by PatrickJ91 Tuesday, May 22, 2018 3:32 PM
    Tuesday, May 22, 2018 3:31 PM

All replies