×
$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
}

 

Related Posts

Outlook 2016: Remove Duplicate entries in Room Finder

In Outlook 2016 some users may noticed dual entries in the Room List: The room list behavior that we see  in Outlook is by design. When we ...

Read out all

Hack: Microsoft Outlook AutoComplete

Outlook maintains the AutoComplete list. The list is used by both the automatic name-checking feature and the automatic completion feature. The AutoComplete...

Read out all