CmdID / PowerShell / Cmdlets / Get
Get-EXOMailboxPermission
Use the Get-EXOMailboxPermission cmdlet to retrieve permissions on a mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 8 parameters Its page in the reference
Parameters
-ExternalDirectoryObjectIdThe ExternalDirectoryObjectId parameter identifies the mailbox that you want to view by the ObjectId in Microsoft Entra ID.-IdentityThe Identity parameter specifies the mailbox you want to view.-OwnerThe Owner switch returns the owner information for the mailbox that's specified by the Identity parameter.-PrimarySmtpAddressThe PrimarySmtpAddress identifies the mailbox that you want to view by primary SMTP email address (for example, navin@contoso.com).-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SoftDeletedMailboxThe SoftDeletedMailbox switch is required to return soft-deleted mailboxes in the results.-UserThe User parameter returns information about the user who has permissions to the mailbox specified by the Identity parameter.-UserPrincipalNameThe UserPrincipalName parameter identifies the mailbox that you want to view by UPN (for example, navin@contoso.onmicrosoft.com).