PowerShell issue while trying to adjust mailbox transport settings in Exchange Server

Schott Cyndi 105 Reputation points
2025-12-12T09:57:30.4866667+00:00

I’m running into a PowerShell issue while trying to adjust mailbox transport settings in Exchange Server. I attempted to run the following cmdlet:

Set-MailboxTransportService -Identity "Server01" -MaxSendSize 50GB

but PowerShell throws an error saying the cmdlet Set-MailboxTransportService isn’t recognized. I assumed this was the correct way to update message size limits at the server level, but now I’m not sure whether I’m mixing up mailbox-level and server-level transport cmdlets.

Exchange | Exchange Server | Development
0 comments No comments
{count} votes

Answer accepted by question author
  1. Hin-V 10,415 Reputation points Microsoft External Staff Moderator
    2025-12-12T10:46:36.16+00:00

    Hi @Schott Cyndi

    Thank you for posting your question in Microsoft Q&A. 

    Based on Set-MailboxTransportService (ExchangePowerShell) | Microsoft Learn, looks like this cmdlet specifically configures the Mailbox Transport service on Mailbox servers, which handles internal message delivery between mailboxes and the Transport service. However, it does not include a -MaxSendSize parameter for adjusting message size limits, those are managed elsewhere in Exchange’s transport configuration. 

    Additionally, configure 50GB is far beyond any practical or supported mail flow size in Exchange. Typical values are 50–100 MB, Exchange Online’s upper bound is around 150 MB (varies). Even on-premises, connectors and clients limit effective sizes .I would recommend using a value like 50 MB for message size settings, as this aligns with best practices and supported limits. 

    Since your goal is to update message size limits at the server level, you could consider use the following commands: 

    For Organization-wide defaults (affects all servers unless overridden) 

    Set-TransportConfig -MaxSendSize 50MB -MaxReceiveSize 50MB 
    

    This sets the global max for messages processed by the Transport service. You could use this command to check current values:

    Get-TransportConfig | Format-List MaxSendSize,MaxReceiveSize
    

    Changes might take up to 1 hour to propagate (or restart the Microsoft Exchange Transport service immediately with Restart-Service MSExchangeTransport). 

    For Connectors (inbound/outbound paths): 

    Receive Connectors (for incoming mail): 

    Get-ReceiveConnector | Format-Table Name,MaxMessageSize  
    Set-ReceiveConnector -Identity "Name" -MaxMessageSize 50MB 
    

    Send Connectors (for outgoing mail): 

    Get-SendConnector | Format-Table Name,MaxMessageSize  
    Set-SendConnector -Identity "Name" -MaxMessageSize 50MB 
    

    User's image

    For Mailbox-level overrides (mailbox level reference), use: 

    Set-Mailbox -Identity "******@domain.com" -MaxSendSize 50MB -MaxReceiveSize 50MB 
    

    Or for all mailboxes: 

    Get-Mailbox | Set-Mailbox -MaxSendSize 50MB -MaxReceiveSize 50MB 
    

    References: 

    Set-TransportConfig (ExchangePowerShell) | Microsoft Learn 

    Message size and recipient limits in Exchange Server | Microsoft Learn 

    I hope this helps. 

    Please feel free to correct me if I misunderstood your request. If you have any additional concerns, feel free to comment below. I would be more than happy to assist. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".      

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.