PowerShell Exchange commands message limits

Sometimes you'll want to alter the message count limits for sending and receiving in Exchange. Here's the commands you will need:

For organization

Set-TransportConfig -MaxRecipientEnvelopeLimit 1000

Get-transportconfig |fl name,MaxRecipientEnvelopeLimit (=250)

-----

For transport server

Set-TransportServer -Identity "Server01" -PickupDirectoryMaxRecipientsPerMessage 200

Get-TransportServer |FL PickupDirectoryMaxRecipientsPerMessage,name (=100)

----

For recieveconnector

Set-ReceiveConnector -Identity "Contoso Receive Connector" -MaxRecipientsPerMessage 300

Get-receiveconnector |fl name,MaxRecipientsPerMessage

----
For mailbox:

Get-mailbox |fl name, RecipientLimits

(All seem to unlimited)