Hi aganesh007,
Thank you for your question.
There are two sentences which confused me, I want to get deeply state:
- But we want to hide Quota settings in User mailbox properties.
- remove other parameters other than -*Quota*
I will give a solution to meet your requirement which is remove other cmdlets than the Mailbox Statistics
a. Create a role which is Mailbox Statistic:
New-Managementrole Name LJ Mail Recipient parent Mail recipients
Get-ManagementRoleEntry LJ Mail Recipient \* | where {$_.name ne Get-MailboxStatistics} | Remove-ManagementRoleEntry
Then we could type A.
b. Customized role group and Role was add role group
New-RoleGroup Name Manage Recipients for Helpdesk Roles
LJ Mail Recipient RecipientOrganizationalUnitScope contoso.com/Users
c. Add the user you want to grant this connect-mailbox permission to this role group through EAC
When we add user to Manage Recipients for Helpdesk, we could check if we could see mailbox usage.
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim