I'm looking for powershell command or script to inherit mailbox folder level permission to inherit to all subfolders. I used to below command but it is not inheriting to subfolders and as well inheritancetype is not recognized in the powershell.
Add-MailboxFolderPermission -Identity ayla@contoso.com:\Marketing -User Ed@contoso.com -AccessRights Owner
Let me know if you had this similar issue and possible solution for this issue.