PowerShell Code: Find Number Of ActiveSync Devices Attached To A User

Today, I’ll show you another classic Exchange Server or Online PowerShell script that will show you how many ActiveSync devices are assigned to a user.

Simply, open Exchange Shell or connect to Exchange Online and run the script.

Get-ActiveSyncDeviceStatistics -mailbox USERNAME| Measure-Object