I'm trying to verify that I've added a user in our Domain to a shared mailbox. I've used the command in the exchange powershell console:

add-mailboxpermission 'shared mailbox name here' -User: 'ADlogin' -AccessRights:FullAccess

I've seen confirmation it was added, but I would like to display the users that are attached to this shared mailbox, How can I see that?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

If you want to know what permissions has been given on a mailbox:

Get-MailboxPermission -Identity "shared mailbox name here"

If you want to know what permissions a specific user has on a mailbox, use:

Get-MailboxPermission -Identity "Shared mailbox name here" -User "The user with permissions"

Last but not least, the special "Send on behalf" privilege is set on the mailbox as a multivalue property containing all users who can "Send on behalf" (but not necessarily AS) the mailbox owner. To retrieve a list of all the grantees on a mailbox:

(Get-Mailbox -Identity "Shared Mailbox Name Here").GrantSendOnBehalfTo

Don't forget the parentheses :-)

link|improve this answer
Thanks boss, exactly what I was looking for. – Split71 Dec 28 '11 at 15:42
You're welcome, just added another little nifty snippet, to retrieve users with "Send on behalf" permissions. Enjoy! :-D – Mathias R. Jessen Dec 28 '11 at 16:42
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.