list user mailbox which has full mailbox to other users

Hello

I have one user who has full mailbox access to several other mailboxes in OU.  Is there any way via powershell to export only the list of those mailboxes which this particular user has full mailbox access?

Thanks

August 31st, 2015 4:43pm

Hi,

Try this

Get-Mailbox -ResultSize unlimited | Get-MailboxPermission |? {($_.User -like "domain\ou\username") -and ($_.AccessRights -eq "FullAccess")} | Select Identity,User,accessrights | export-csv c:\permission.csv

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 10:50pm

I am getting following error "Sending data to a remote command failed with the following error message: The total data received from the remote
client exceeded allowed maximum. Allowed maximum is 524288000. "

is there any way I can limit the search to specific OU?

  • Edited by mod 13 3 hours 33 minutes ago
  • Marked as answer by mod 13 2 hours 52 minutes ago
August 31st, 2015 11:50pm

Hi,

There is a parameter 'OrganizationalUnit' under Get-Mailbox cmdlet.

Get-Mailbox -ResultSize unlimited -OrganizationalUnit "OU" | Get-MailboxPermission |? {($_.User -like "domain\ou\username") -and ($_.AccessRights -eq "FullAccess")} | Select Identity,User,accessrights | export-csv c:\permission.csv

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 12:13am

I am getting following error "Sending data to a remote command failed with the following error message: The total data received from the remote
client exceeded allowed maximum. Allowed maximum is 524288000. "

is there any way I can limit the search to specific OU?

  • Edited by mod 13 Tuesday, September 01, 2015 3:55 AM
  • Marked as answer by mod 13 Tuesday, September 01, 2015 4:36 AM
September 1st, 2015 3:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics