Disable Imap ,pop , sync ,owa for new users

Hi

I have Exchange 2010

I follow the below link for disable imap for new users

http://www.ehloworld.com/194

how can I disable activesyns,owa,pop also for new users ?

should I modify this xml ?

February 22nd, 2015 2:44pm

The method in your link is exactly how we disable POP3 and IMAP for new users. You just need to add the extra lines for what you'd like disabled.

<?xml version="1.0" encoding="utf-8" ?>
<Configuration version="1.0">
<Feature Name="MailboxProvisioning" Cmdlets="new-mailbox">
<ApiCall Name="OnComplete">
if($succeeded) {
$newmailbox = $provisioningHandler.UserSpecifiedParameters["Name"]
set-casmailbox $newmailbox -ImapEnabled $false
set-casmailbox $newmailbox -Pop3Enabled $false
}
</ApiCall>
</Feature>
</Configuration>
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2015 5:41pm

Hi,

From your description, I would like to clarify the following thing:

The above mailbox features are enabled by default. But you can use the cmdlet below to disable them.

Get-CASMailbox | Set-CASMailbox -PopEnabled $False -ImapEnabled $False -OWAEnabled $False -ActiveSyncEnabled $False

Hope this can be helpful to you.

Best regards,

If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

February 23rd, 2015 4:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics