John Yassa's Blog

Home » Exchange 2010 » Get Permission assigned to Mailbox Database (Get-ADPermission)

Get Permission assigned to Mailbox Database (Get-ADPermission)

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

 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: