Go Premium for a chance to win a PS4. Enter to Win


Exchange 2010 Powershell command

Posted on 2013-06-15
Medium Priority
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
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
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 anti-spam), the admin…
Suggested Courses

926 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