Skip to content

Mohammed Wasay

Dallas based Design Technologist & Hybrid Developer

  • Home
  • Posts
    • Azure
      • Azure Active Directory
    • Office365 | M365
    • Programming
      • PowerShell
      • Python
    • Platform
      • Windows
        • Active Directory
        • SCCM
      • Mac
      • Linux
    • VMware
    • Storage
  • Contact
  • About
  • Get NordVPN
  • Client
    • Make a payment

Enabling ActiveSync for a Security Group using Powershell

  • Home
  • 2015
  • June
  • Enabling ActiveSync for a Security Group using Powershell
PowerShell
1
2
3
4
5
6
$users = Get-ADGroupMember "AD Group with Users to be Enabled for ActiveSync"
foreach ($line in $users) {
    $user = $line.samaccountname
    Set-CASMailbox $user -ActiveSyncEnabled:$true
    Get-CASMailbox $user | Select-Object Name, ActiveSyncEnabled
}
 

By: mo wasayPosted on June 23, 2015August 22, 2016Categories : Categories : Office365 | M365Tags: access activesync android fire group iphone mobile office365 powershell security

Post navigation

Disabling ActiveSync for a Group of Users using Powershell
Outlook: Removing Copy from all the Calendar entries after importing from PST

My name is Mohammed Wasay I am part of the Global Digital Workplace Team at KPMG International. I define myself as a Hybrid Developer, Programmer, and Technical Consultant, who has a creative twist to innovate, inspire, and simplify solutions. I enjoy engaging with the community and customers around the world. Opinions and suggestions are my own.

    • Active Directory
    • Azure Active Directory
    • Information Technology
    • Linux
    • Mac
    • Office365 | M365
    • PowerShell
    • SCCM
    • SharePoint
    • VMware
    • Windows
    Copyright © 2023 Mohammed Wasay. All Rights Reserved | Workart by Theme Palace