bbayachek
asked on
Exchange 2010 powershell
How can I display a users access to other users items in exchange powershell. Example - it was reported that a user named Brian has access to other user's mailbox items. I want to run a report on the user Brian to see what he has access to besides his own mailbox items.
Thanks,
Brian
Thanks,
Brian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have used this command in the past and it worked for me.
Get-Mailbox -resultsize unlimited | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Acce ss Rights';Expression={[strin g]::join(' , ', $_.AccessRights)}} | Export-Csv -NoTypeInformation mailboxpermissions.csv
this will be for everyone you will just need to clean it up in Excel.
Get-Mailbox -resultsize unlimited | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Acce
this will be for everyone you will just need to clean it up in Excel.
You need to run the following cmdlet to see what access Brian has besides his own mailbox items.
Get-MailboxPermission -Identity "User-Id" | Select Identity,User,@{Name='Acce