Change CASMailbox protocol settings based on AD group membership

Last updated: 2018-01-16

Exchange Server 2013Exchange Server 2016Description

The community script Update-CASMailbox simplifies the process for enabling or disabling protocols for Exchange mailbox access. Active Directory security groups are used to enable or disable a protocol for the group members.

Example

Your Active Directory contains a security group named Exchange_POP_enabled which contains all mailbox users requiring POP3 access to be enabled.

You can use the following command to have POP3 enabled for all members of the given security group.

.\Update-CAS-Mailbox.ps1 -POP -FeatureEnabled $true -GroupName Exchange_POP_enabled

The script does not disable the POP3 for all non-members, as this might not be required as all new mailboxes have POP3 disabled anyway. If there is such a requirement, just let me know.

The following protocols are currently supported:

  • POP
  • IMAP
  • Outlook on the Web (OWA)
  • ActiveSync

Links

Follow


Do you need assistance with your Exchange Server setup? Do you have questions about your Exchange Server infrastructure and going hybrid with Office 365? Are you interested in what Exchange Server 2019 offers for your environment?

%d Bloggern gefällt das: