disabling mailbox features
How can I disable the all the Mailbox features for all users except the IMAPI and then allow the OWA and ActiveSync for certtain users.
May 8th, 2010 12:05am
http://technet.microsoft.com/en-us/library/bb125264(EXCHG.80).aspx
Set-CASMailbox
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2010 1:07am
Hi,
Try this:
Open Exchange management Shell
Set the scope to forest level to get the complete list of mailboxes if you have multiple domains.
$AdminSessionADSettings.ViewEntireForest=$true
Now run the below commands one by one, it will take some time for each command to complete as it is runnign across all the mailboxes in you renvironment.
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -OWAEnabled: $false -Confirm: $False}
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -ActiveSyncEnabled: $false -Confirm: $False}
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -PopEnabled: $false -Confirm: $False}
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -ImapEnabled: $false -Confirm: $False}
We can use the below script to disable UM as well. However, i am not sure if there would be any undesired effects of doing this when, i would say please read more about disabling UM and then proceed to disable it.
Get-mailbox -ResultSize Unlimited | Foreach-Object { Disable-UMMailbox -Identity $_.Identity -Confirm: $False}
Thanks
Shiv
May 8th, 2010 1:21am
Note that these 2 will disable everyone for OWA and ActiveSync which you may not want to do per the original post.
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -OWAEnabled: $false -Confirm: $False}
Get-mailbox -ResultSize Unlimited | Foreach-Object { Set-CASMailbox -Identity $_.Identity -ActiveSyncEnabled: $false -Confirm: $False}
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2010 1:30am
Hi Andy,
Yes, i understood the requirement is to disable owa and other features for all users in organization and enable few features only for few users.
If your requirement is to Enable OWA for only one user
Get-mailbox -Identity "Alias" | Set-Casmailbox -OWAEnabled: $True
If your requirement is to disable OWA for only one user
Get-mailbox -Identity "Alias" | Set-Casmailbox -OWAEnabled: $True
May 8th, 2010 2:05am
Hi Vministrator,
Could you please also tell which verion of Exchange server do you use?
If you are using Exchange 2003, you cannot use the cmdlet. If you are using Exchange 2003 coexistence with Exchange 2007,
after you run the cmdlet to disable the feature, you cannot change the option with ESM, because the feature option will be
disappeared in the user's properties.Frank Wang
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2010 6:52am
Exchange Server 2007 SP2
May 10th, 2010 6:34pm