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
Technology Tips and News
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
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.
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?
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.
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?