Blog Post

Exchange Team Blog
1 MIN READ

Re: Change in naming convention of user’s Name parameter

Matt-P's avatar
Matt-P
Copper Contributor
Oct 23, 2024

SGlazebrook oh, that works!  So the solution would be to add {(Get-Mailbox $_.Identity | Select DisplayName)} when using Get-MailboxPermission.

e.g.

 

Get-Mailbox -resultsize unlimited | Get-MailboxPermission | Select User, {Get-Mailbox $_.Identity | Select DisplayName}, AccessRights | Where {($_.User -ne "NT AUTHORITY\SELF")} | Sort-Object -Property User | Export-Csv -Path "c:\temp\MailboxPermissions.csv" -NoTypeInformation

 

 

Updated Oct 23, 2024
Version 2.0
No CommentsBe the first to comment