| 3TGKB-0067 | |
|
Last Edited : |
31-01-07 |
|
Revision : |
1.0 |
How to enable or disable MAPI access to multiple users from an OU in Exchange 2007!
To use the Exchange Management Shell to enable and disable MAPI for a mailbox
user
Run the following command to enable MAPI for the user John:
Set-CASMailbox -Identity John -MAPIEnabled $true
Run the following command to disable MAPI for the user John:
Set-CASMailbox -Identity John -MAPIEnabled $false
This command will prevent users from the Marketing OU in adatum.com from using MAPI.
get-mailbox |where-object {$_.distinguishedname -ilike '*ou=marketing,dc=adatum,dc=com'} | set-CASMailbox -MAPIEnabled $false
How to Enable or Disable MAPI for a Mailbox User in Exchange 2007
This topic explains how to use the Exchange Management Console and the Exchange
Management Shell to enable or disable Messaging Application Programming
Interface (MAPI) for a Microsoft Exchange Server 2007 mailbox user.
Before You Begin
To perform the following procedures on a computer that has the Mailbox server
role installed, you must log on by using a domain account that has the
permissions assigned to the Exchange Recipient Administrators group. The account
must also be a member of the local Administrators group on that computer.
Procedure
To use the Exchange Management Console to enable or disable MAPI for a mailbox
user
Matt
KB Keywords: MAPI, users, Exchange 2007, MSH, console, shell