power shell script to change the send and recieve size limits for mail

Hi I need a powershell script to change the size limits for sending and receiving mail in exchange 2007. I need it to read the usernames from a csv file as i don't want it to apply to all users.
Who is Participating?
Stelian StanConnect With a Mentor Network AdministratorCommented:
To see the global settings for the Exchange Transport configuration, use

To change message size settings you must use

To change the maximum message size for Receive messages, use:
Set-Transportconfig –maxreceivesize

to set a maximum message size for messages sent to users outside the Exchange organization, use:
Set-Transportconfig –maxsendsize
Stelian StanNetwork AdministratorCommented:
davidm27Author Commented:
sorry didn't make it very clear. its not the size of the mailbox its the maximum sending and receiving mail size of individual emails
davidm27Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.