Script to set mailbox size for a set of specific users

85 Views Asked by At

I am using Exchange 2013 with different mailbox for different companies. I want to set the mailbox size quota of all users having 100MB size to 200MB for example. Or to set the mailbox size of a specific mailbox to 500Mb.

Can someone help me to get a script for this. Thanks

1

There are 1 best solutions below

0
akelsey On

I guess it is already not actual for topic starter but i leave it here:

get-user | ? {$_.company -eq "mycompany"} | set-mailbox -usedatabasequotadefaults:$false -ProhibitSendQuota 200Mb