Question: How To Set Mailbox Size Limit for Bulk users Using Powershell On Exchange 2010

This Exchange Server 2010 article will show you how to set a Mailbox size Limit on a group of users using a PowerShell cmdlet.

To do it copy all user names to a text file and save to c:\list.txt and run the following cmdlet from the EMS:

get-content c:\list.txt | Set-Mailbox -UseDatabaseQuotaDefaults $flase -ProhibitSendReceiveQuota 500mb

the cmdlet above will set a mailbox limt of 500MB to all users is the list.


To set the limit the one user type

Set-Mailbox test10 -UseDatabaseQuotaDefaults $flase -ProhibitSendReceiveQuota 500mb