Manually control ActiveSync Devices

Posted: January 18, 2012 in CAS, Exchange 2010, Powershell
Tags: , ,

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 | Fl DeviceId

To allow a specific device:

Set-CASMailbox –Identity –ActiveSyncAllowedDeviceIDs “DeviceID1”, “DeviceID2”

To deny a secific device:

Set-CASMailbox -Identity -ActiveSyncBlockedDeviceIDs “DeviceID1”, “DeviceID2”




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s