Posts Tagged ‘activesync’

This script generates a HTML report of all ActiveSync devices ordered by username.

Get-ActiveSyncDevicesHTML

Cheers,

Chris

ActiveSync device management through the Exchange Management Console is limited and slow. To quickly get the device access state and set access parameters simple use some PowerShell commands.
First get user’s DeviceId:

Get-ActiveSyncDevice -Mailbox user@domain.com | Fl DeviceId

To allow a specific device:

Set-CASMailbox –Identity user@domain.com –ActiveSyncAllowedDeviceIDs “DeviceID1”, “DeviceID2”

To deny a secific device:

Set-CASMailbox -Identity user@domain.com -ActiveSyncBlockedDeviceIDs “DeviceID1”, “DeviceID2”

Cheers,

Chris