Solved

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

Posted on 2014-02-24
4
1,074 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A brief introduction to what I consider to be the best editor for PowerShell.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now