CmdID / PowerShell / Cmdlets / Get
Get-EXOMailboxFolderPermission
Use the Get-ExOMailboxFolderPermission cmdlet to view folder-level permissions in mailboxes. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mailbox folder that you want to view.-ExternalDirectoryObjectIdThe ExternalDirectoryObjectId parameter identifies the mailbox that you want to view by the ObjectId in Microsoft Entra ID.-GroupMailboxThe GroupMailbox switch is required to return Microsoft 365 Groups in the results.-PrimarySmtpAddressThe PrimarySmtpAddress identifies the mailbox that you want to view by primary SMTP email address (for example, navin@contoso.com).-UserThe User parameter filters the results by the specified mailbox, mail user, or mail-enabled security group (security principal) that's granted permission to the mailbox folder.-UserPrincipalNameThe UserPrincipalName parameter identifies the mailbox that you want to view by UPN (for example, navin@contoso.onmicrosoft.com).