views:

195

answers:

1

How can I find all the users who are all having access to a shared mail box?

We use a shared mail box in our application, this would be useful to know.

A simple solution will be more useful.

Code to do this in C# is also ok.

Tools from microsoft will also be useful.

A: 

Well you didn't say what you mean by "having access" so:

$mailbox = "[email protected]"
Get-Mailbox $mailbox | Get-AdPermission
slipsec