Get the App
SLTechnology News&Howtos  ›  Servers  › 

Exchange 2013 sets the maximum recipient for mailbox users

Shulou Source: shulou.com Published: 2022-06-03 03:45:17 10月04日 Update

Limit the maximum number of recipients per message at the user level and open Exchange 2013 EMS

Query

Query the maximum number of recipients of all users in the company at present, and sort them in descending order

Get-Mailbox | Select DisplayName,RecipientLimits | Sort-Object-Property RecipientLimits-Descending

If the query is stored in max_recipient_list.csv

Get-Mailbox-ResultSize unlimited | Select DisplayName,RecipientLimits | Sort-Object-Property RecipientLimits-Descending | Export-CSV D:\ max_recipient_list.csv

Query the largest recipient of a user in an organizational unit

Get-User-OrganizationalUnit "guangzhou office" | where-Object {$_ .principienttype-eq "usermailbox"} | get-mailbox | select displayname,recipientlimits

Query the largest recipient of the user bill-zhang

Get-Mailbox-Identity bill-zhang | Select DisplayName,RecipientLimits modification

Set the maximum number of recipients for all mailbox users to 20

Get-Mailbox-ResultSize unlimited | Set-Mailbox-RecipientLimits 20

Set the maximum number of recipients for a user to 20

Get-Mailbox-Identity bill-zhao | Set-Mailbox-RecipientLimits 20

Set the maximum number of recipients in a mailbox database to 20

Get-Mailbox-Database "xxxxx" | Set-Mailbox-RecipientLimits 20

Set the maximum recipient of a user in an organizational unit to 20

Get-User-OrganizationalUnit "guangzhou office" | where-Object {$_ .principienttype-eq "usermailbox"} | set-mailbox-recipientlimits 20

Tags: Maximum users number of people queries recipients mailboxes units companies data databases levels messages restrictions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Apple Shulou Information OPPO Reno MariaDB