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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s