• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

Exchange 2010 Powershell command

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

BR
Oren
0
solutech06
Asked:
solutech06
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
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
0
 
solutech06Author Commented:
Great it worked

BR

Oren
0

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now