Solved

Script or tool to do Inventory of shared mailboxes and gather permissions for shared mailboxes

Posted on 2014-02-24
4
1,144 Views
Last Modified: 2014-02-26
Hello,
I wanted to ask if anyone has a script script or suggest a tool to do Inventory of shared mailboxes and gather permissions.

Also, to get the following permissions - Send As, Send on Behalf, and Full Access for all mailboxes. Identify mailboxes which have delegates


Thanks in advance!
0
Comment
Question by:claudiamcse
4 Comments
 
LVL 8

Accepted Solution

by:
Jeff Perry earned 500 total points
ID: 39883936
Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', $_.AccessRights)}} | Export-Csv -NoTypeInformation mailboxpermissions.csv

Open in new window


from

http://exchangeserverpro.com/list-users-access-exchange-mailboxes/
0
 
LVL 18

Expert Comment

by:suriyaehnop
ID: 39884522
Try attached script
script.txt
0
 
LVL 4

Expert Comment

by:michaelalphi
ID: 39884698
Hi Claud,
Please checkout this link to enable mailbox/folder auditing in office 365 for all users : https://www.cogmotive.com/blog/office-365-tips/enable-mailbox-auditing-for-office-365-users
you can have also check these links to audit mailbox/folder access in different exchange versions :
For Exchange server 2013 : Mailbox audit logging in exchange 2013
For exchange server 2010 : Mailbox audit logging in exchange 2010
For Exchange server 2007 : Mailbox audit logging in exchange 2007
Moreover, You can also have a look at this automated option(http://www.lepide.com/exchange-server-audit/) which would be good choice for you to audit shared mailbox folder permission.
0
 

Author Closing Comment

by:claudiamcse
ID: 39889541
tHanks a lot!! This script worked great. The other scripts that someone esle posted, didn't work
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
how to add IIS SMTP to handle application/Scanner relays into office 365.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question