Forum Discussion
Mena-Nabil
Apr 14, 2021Copper Contributor
Activesync script for office 365 users
Hi There, Appreciate your support to find a powershell script to list office 365 users that have activesync enabled, selecting the criteria (display name,email, title, department) Thanks for ...
VasilMichev
Apr 14, 2021MVP
That's as simple as
Get-CASMailbox -Filter {ActiveSyncEnabled -eq $true}
The rest is surfacing properties as needed, but for that you might need to run additional cmdlets.
Get-CASMailbox -Filter {ActiveSyncEnabled -eq $true}
The rest is surfacing properties as needed, but for that you might need to run additional cmdlets.