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
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

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now