Solved

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

Posted on 2014-02-24
4
1,327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 19

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

705 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