Clear Server Rules?
I have a question regarding Exchange 2007. Is there a way to clear any rules a user might have created from Outlook? Even better, I'd like to be able to clear a list of user's rules via powershell, all at once. I am referring to server side rules that are created directly from Outlook. For example, a user who know's they're about to leave the company creates a rule in their Outlook to forward all email to a new email address. This isn't noticed because it isn't reflected in the Exchange Management Console as a forwarding rule.
May 12th, 2010 4:37pm

You can use a tool such as MFCMapi or similar. The process is well-documented on the web, here's an excellent walk-through of how to do it: http://exchangeshare.wordpress.com/2008/04/10/delete-corrupted-hidden-or-stale-rules-from-mailbox-with-mfcmapi/Anil
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 4:51pm

Hello, There is no such command from powershell but there are other ways to achieve what you want. The first way to get rid of the rules ( all of them) is tu run OL with the /cleanrules switch for the profile you are interested in. To automate this I think that you can create a logon script in a GPO and assign it to the user you are intrested in. Second way is to simply delete his mailbox as the rules are stored in there. If he is going to leave the company I guess his account and mailbox shoud be dealt with accordingly ( disable/delete) Hope it helps, Mihai
May 12th, 2010 4:55pm

That's too bad there isnt a way to script it from powershell. Thanks for the information. We will modify our termination policy to include checking their Outlook profile for server side rules. Thanks again. -Craig
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2010 5:00pm

As a work around to restrict user to further send emails you can use the following command Set-Mailbox -identity "Name" -MaxSendSize "0" For Bulk users $a= import-csv c:\users.csv $a | foreach { Set-Mailbox -MaxSendSize "0" $_.name}
May 24th, 2011 6:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics