Exchange 2010 Powershell command

Posted on 2013-06-15
Last Modified: 2013-06-16
I would like a PowerShell script that would apply the following command to all user's exchange accounts in our organization:

Set-Mailbox <mailbox> -MaxSendSize unlimited -MaxReceiveSize unlimited,
i already have set the send connector in organization configuration etc but there are few users that have message size restriction inndividualy

Question by:solutech06
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 500 total points
ID: 39250919
Look you can have the SamAccount name or DisplayName in a text file ..... save it and then run the below command

Get-Content "file location .txt" | Set-Mailbox <mailbox> -MaxSendSize unlimited -MaxReceiveSize unlimited

- Rancy

Author Closing Comment

ID: 39251164
Great it worked



Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
This video discusses moving either the default database or any database to a new volume.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question