The Set-CASMailbox cmdlet can
be used to modify these attributes. For more information on this cmdlet, see the ??? Set - CASMailbox ???
Chapter 4: Working with User and Group Objects
121
section earlier in the chapter. Remember that this cmdlet requires the identity property. In addition,
you can enable one or multiple features in a single statement. Following are a few examples.
You can enable or disable the ability of clients to use OWA, now known as Outlook Anywhere, in
Exchange Server 2007 by setting the OWAEnabled parameter to true or false :
Set-CASMailbox -Identity ExchUser@ExchangeExchange.local -OWAEnabled $true
You can enable/disable multiple attributes in the same statement. For example, you may want to enable
OWA, POP3, IMAP4, and ActiveSync while disabling MAPI access for a user:
Set-CASMailbox -Identity ExchUser@ExchangeExchange.local -OWAEnabled: $true -
POPEnabled:$true -ImapEnabled:$true -ActiveSyncEnabled:$true -MAPIEnabled:$false
To disable MAPI access for all users, edit the Disable MAPI Clients string value in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem .
You may need to create this value because it may not exist by default. View the version of the
Emsmdb32.dll file to determine the MAPI Outlook client version and enter one of the following:
??‘ To disable a specific MAPI client version, type: 12.
Pages:
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213