Posts

Showing posts from January, 2018

Powershell script to get list of Forwarding Email Addresses using Outlook Rules

It so happened that my boss once wanted to know all the email users who were forwarding their email to external/private mailboxes using outlook rules. In companies where protecting information is of prime importance allowing users to forward emails cannot be allowed. This can lead to leakage of confidential information. There are 3 ways to forward emails. You can forward, redirect and forward as attachment. You need to search all these users to get a clear picture The main difference between forwarding and redirection is that while forwarding automatically makes changes to your email and includes details about the message history, redirection discretely sends the email to the intended party in its originally written state, making it appear as if it was received directly from the original sender. Below is a script that I wrote to generate the report in excel. This was tried in Exchange 2016 but I think it should work in earlier versions of exchange as well. $Report...