RabbieBurns Posted March 21, 2013 Posted March 21, 2013 How can I use Exchange Powershell to run a command that will show which users have shared their mailboxes with others please?
RabbieBurns Posted March 28, 2013 Author Posted March 28, 2013 still not been able to find an answer for this on google. Is it possible?
RabbieBurns Posted April 19, 2013 Author Posted April 19, 2013 @sukh I'm just wondering if you were perhaps able to assist here please sir?
Psymon Posted April 19, 2013 Posted April 19, 2013 (edited) The below script works for calendar permissions - pretty sure you could modify it for mailboxes. get-mailbox -ResultSize unlimited | get-CalendarProcessing | select identity -expand ResourceDelegates | select @{n="Name"; e={$_.identity.Name}}, @{n="ResourceDelegates"; e={$_.Name}} | export-CSV c:\resourcedelegates.csv -NoTypeInformation Edit - this will generate a 2-column CSV, NAme of resource - then delegates If there are multiple users for a single resource it will re-write that line for each delegate. Edited April 19, 2013 by Psymon
Psymon Posted April 19, 2013 Posted April 19, 2013 Saying that - just been having a play. It could be as simple as Get-Mailbox -ResultSize unlimited | Get-MailboxPermission | Export-Csv C:\Testing.csv Just need to filter it down to "IsInherited = FALSE" and ignore all "User = NT AUTHORITY\SELF" Gives you a list of all non-standard permissions.
dennylutz Posted April 25, 2013 Posted April 25, 2013 you need to use the Get-mailboxPermission command to see who had the permission... Get-Mailbox username | Get-MailboxPermission
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now