Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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 :-)

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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