Makalenin Türkçe versiyonuna buradan ulaşabilirsiniz.
One of the most requested tasks that I usually hate to do is reporting mailbox permissions. I used to do it with different commands and reporting was consuming a lot of time. Last week a request from a client was simple, they wanted HTML report that will be published on Sharepoint for Exchange Admins to keep track for Send as, Full Access and Send on Behalf permissions on each mailbox.
For this reason I wrote Report-MailboxPermissions.ps1 script.
This script creates a HTML Report showing Send as, Full Access and Send on Behalf Permissions information for each mailbox for your Exchange 2010 Organization, for a selected database or for a single user. By Default Inherited permissions and NT Authority\Self account will not be shown in the report unless you run the script with the parameters listed below. Also by default all mailboxes will be reported; if you want to report a single database, you can use -database parameter to specify your database name or you can get the report for a single user by using -mailbox parameter.
For a single Mailbox:
For all mailboxes in a single database
For all mailboxes
As I mentioned by default Inherited permissions and NT Authority\Self account will not be shown in the report. You can use -ShowInherited switch to report Inherited Permissions. To show NT Authority\Self account in report you can use -ShowSelf switch. You can use them both in the same report if you need to.
You can not use -Database and -Mailbox switches at the same report.
Download: Report-MailboxPermissions (250)
Important Reminder This code is made available as is, without warranty of any kind. The entire risk of the use or the results from the use of this code remains with the user.