thoree
asked on
How to disable ActiveSync for users
Hi,
2 questions about Activesync in Exchange 2010:
1: I have a number of users using ActiveSync to sync email between Exchange 2010 and the mobile. Now I want to disable activesync for all users EXCEPT for the users who are already using it. In other words,I want to disable Activesync for users who do not already have an activesync partnership.
2: How can I change the default so that new users are created with ActiveSync=Disabled?
2 questions about Activesync in Exchange 2010:
1: I have a number of users using ActiveSync to sync email between Exchange 2010 and the mobile. Now I want to disable activesync for all users EXCEPT for the users who are already using it. In other words,I want to disable Activesync for users who do not already have an activesync partnership.
2: How can I change the default so that new users are created with ActiveSync=Disabled?
ASKER
So it is not possible to configure Exchange 2010 to set activesync=disabled for new user-accounts without having to copy the template?
what you are trying to accomplish is not easy
to do your first question you need a script i can help you with this
for point 2 no it is not possible unless you create your own scritps to provision your new users
to do your first question you need a script i can help you with this
for point 2 no it is not possible unless you create your own scritps to provision your new users
ASKER
Thanks for your answers. And it would be great if you could give an example of a script doing what I want in question 1.
ok
Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePa rtnership -eq $true}
will give you a list of all users that are already using active sync
$NotASMbx = Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePa rtnership -eq $false}
$NotASMbx | Set-CASMailbox -ActiveSyncEnabled $false
this will disable activesync for all users that are not using it already
Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePa
will give you a list of all users that are already using active sync
$NotASMbx = Get-CASMailbox -resultsize Unlimited | ?{$_.HasActiveSyncDevicePa
$NotASMbx | Set-CASMailbox -ActiveSyncEnabled $false
this will disable activesync for all users that are not using it already
ASKER
Thank you very much for your quick response, I will try this solution.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://blogs.technet.com/b/vik/archive/2007/02/02/how-to-enable-and-disable-exchange-activesync-features-in-exchange.aspx