Get Permission assigned to Mailbox Database (Get-ADPermission)
September 23, 2013 11:14 AM / Leave a comment
You can run the following command against a mailbox database in Exchange 2010 to see who has “Receive-As” permission set at the Database level. This means it is applying to all mailboxes in that database. You can also substitute the value to be “Send-As”, etc:
get-adpermission “Mailbox Database Name” | where-object {$_.extendedrights -like ‘receive-as’} | select user,extendedrights
If you want to see all users and their relevant permissions they have against the database (meaning all mailboxes in that database) use:
get-adpermission “Mailbox Database Name” | select user,extendedrights
If you want to see which permissions a specific user has to a database use:
get-adpermission “Mailbox Database Name” -user “Username” | select user,extendedrights