Hi,
I want to set Send / Receive Message limit to 30MB for bulk Mailboxes, pls. help me how can i accomplish same...from powershall command followed by exact syntax.
Technology Tips and News
Hi,
I want to set Send / Receive Message limit to 30MB for bulk Mailboxes, pls. help me how can i accomplish same...from powershall command followed by exact syntax.
Hi,
I want to set Send / Receive Message limit to 30MB for bulk Mailboxes, pls. help me how can i accomplish same...from powershall command followed by exact syntax.
Hi,
Suppose i want to import mailboxes from CSV file, how to use it with the command and what should CSV file consists of?
Thanks
Adding to Tarique...
If you have the bulk users in a csv file, you can run the below command to set the limit
Import-csv "C:\Temp\bulkusers.csv" | Foreach-Object {Set-Mailbox -identity $_.Alias -MaxReceiveSize 30MB -MaxSendSize 30MB }
And your CSV file should have the bulk users like below
Alias
UsersAlias1
UsersALias2
....
Well,
create a myuser.csv file with only one header " userid" and enter "samAccountname" as its value in csv file as below:
userid
user1
user2
then use below script :
foreach($user in import-csv c:\myuser.csv){get-mailbox $user.userid}|set-mailbox -MaxReceiveSize 30mb -MaxSendSize 30mb
Can i also add Maximum recipients no 1000 in the syntax?
Adding to Tarique...
If you have the bulk users in a csv file, you can run the below command to set the limit
Import-csv "C:\Temp\bulkusers.csv" | Foreach-Object {Set-Mailbox -identity $_.Alias -MaxReceiveSize 30MB -MaxSendSize 30MB }
And your CSV file should have the bulk users like below
Alias
UsersAlias1
UsersALias2
....
Not sure whose suggestion you are following..
You need to add below command
set-mailbox -MaxReceiveSize 30mb -MaxSendSize 30mb -RecipientLimits 1000
Can i also add Maximum recipients no 1000 in the syntax?