CmdID / PowerShell / Cmdlets / Get
Get-MailboxPermission
Use the Get-MailboxPermission cmdlet to retrieve permissions on a mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mailbox you want to view.-CredentialThe Credential parameter specifies the username and password that's used to run this command.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-GroupMailboxThe GroupMailbox switch is required to return Microsoft 365 Groups in the results.-IncludeSoftDeletedUserPermissionsThe IncludeSoftDeletedUserPermissions switch returns permissions from soft-deleted mailbox users in the results.-IncludeUnresolvedPermissionsThe IncludeUnresolvedPermissions switch returns unresolved permissions in the results.-IncludeUserWithDisplayName-OwnerThe Owner switch returns the owner information for the mailbox that's specified by the Identity parameter.-ReadFromDomainControllerThe ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SoftDeletedMailboxThe SoftDeletedMailbox switch is required to return soft-deleted mailboxes in the results.-UseCustomRouting-UserThe User parameter filters the results by who has permissions to the mailbox that's specified by the Identity parameter.