Hi All,
I have hit a stumbling block in that I have been asked for a list of all AD users who have full access rights on other mailboxes appart from their own on Exchange 2010.
I have used powershell commands such as Get-Mailbox -Server "<servername>" -resultsize "Unlimited" | Get-MailboxPermission | where { ($_.AccessRights -eq "FullAccess") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | ft Identity, User -AutoSize and exported to a log file but come with the problem of the Identity is too long to display and receiveWARNING: column "User" does not fit into the display and was removed from the query.
I have also used the get-mailbox | get-mailboxpermission -User "<username>" | fl identityto log query and this is fine for a single user but I need to audit the entire directory.
I was hoping for any assistance in a command line query that would give a simple list of all mailboxes and users who has full access rights to them that will fit nicely into a text file or equivelent.
Thanks in advance
Simon