User Tools

Site Tools


internet:mail:exchange:exchange_o365_powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:mail:exchange:exchange_o365_powershell [2019/01/15 12:19]
jcooper
internet:mail:exchange:exchange_o365_powershell [2019/01/30 10:57] (current)
jcooper
Line 28: Line 28:
  
 https://www.codetwo.com/admins-blog/managing-outlook-rules-powershell/ https://www.codetwo.com/admins-blog/managing-outlook-rules-powershell/
 +
 +https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/remove-inboxrule?view=exchange-ps
  
   * Get Inbox Rule   * Get Inbox Rule
 +
 +:!: To get the entire RuleIdentity you may need to widen the PowerShell window.  Properties, Layout, window size, width. 
 +
 +<file>
 +Get-InboxRule -Mailbox <mailbox_name>
 +</file>
 +  * Get Inbox Rule and show what it does
 +<file>
 +Get-InboxRule –Mailbox <mailbox_user> | Select Name, Description | FL
 +</file>
 +  * Get Inbox Rule and show details
 +<file>
 +Get-InboxRule -Identity <RuleIdentity> -Mailbox <mailbox_user> | FL
 +</file>
 +  * Remove Inbox rule
 +<file>
 +Remove-InboxRule -Identity <rule_name> -Mailbox <mailbox_name>
 +</file>
 +  * Remove all Inbox rules
 +<file>
 +Get-InboxRule -Mailbox <mailbox_name> | Remove-InboxRule
 +</file>
 +
  
  
internet/mail/exchange/exchange_o365_powershell.1547579990.txt.gz · Last modified: 2019/01/15 12:19 by jcooper