disable selected devices from ActiveSync

I am running Exchange 2007, what I am trying to do is disable account with multiple selceted devices sync to Activesync. If lets say BOB has 2 devices on activesync, I disable one of his device. How do I make it so that device does not get resync with ActiveSync server. What I am finding is that even though I deleted the device from the server, the device still resync. Anybody having this issue?


thanx
officertangoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Viral RathodConsultantCommented:
Yes ,we can disable selected device using following power shell commands.

First check the device id using Get-ActiveSyncDeviceStatistics command and then block using set-casmailbox command.

This example adds the device ID to the ActiveSyncBlockedDeviceIDs parameter list to prevent the device from synchronizing with Microsoft Exchange.

Set-CASMailbox -Identity: "EmailAlias" -ActiveSyncBlockedDeviceIDs: "<DeviceID_1>","<DeviceID_2>"

This example retrieves the device ID after the user has synchronized the device with the Exchange server.

Get-ActiveSyncDeviceStatistics -Mailbox:"<EmailAlias>" |fl DeviceID
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Viral RathodConsultantCommented:
To find curremt device id you can use following command from powershell ,This is will give detailed information

Get-ActivesyncDeviceStatistics -Mailbox foo@yourdomain.com

according to out you can the disable the device using last command.
0
officertangoAuthor Commented:
na
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.