Enable/Disable ActiveSync based on group membership

Enable ActiveSync only for users in a given Active Directory group, and disable it for all mailboxes not in that group. This script was created to restrict ActiveSync to only those users with approved devices and after the proper paperwork was completed, etc. Instead of modifying

4.5 Star
3,136 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
  • Exchange 2010?
    2 Posts | Last post October 21, 2014
    • Will this also work in Exchange 2010?
    • Nothing like resurrecting a response that's over a year old... Sorry about that. I'm pretty sure this would on 2010, but I never tested it. Did you ever get to try?
  • Will this work with Office 365?
    2 Posts | Last post October 21, 2014
    • I am trying to accomplish the same task for Office 365. Will this work?
    • I don't have any access to an Office 365 environment, so I can't test it. But I would bet that 365 is going to be completely different. 
  • OWA and Outlook Anywhere
    1 Posts | Last post June 26, 2012
    • This also works for OWA by replacing ActiveSycEnabled with OWAEnabled
      Slightly more ticky for Outlook Anywhre as you not only need to replace ActivesyncEnabled with mapiblockoutlookrpchttp but you need to invert true and false and use $false and $true instead of "false" and "true"