Solved

Activesync Exchange 2010 change setting to quarantine

Posted on 2014-10-03
1
37 Views
Last Modified: 2015-09-01
hi,

I want to change my activesync setting from allow to quarantine without effecting my existing 20 users. Is there a way I can allow my existing users not to be quarantine when I make the change?

I ran across some commands while researching but i'm not having any luck

This command gives me the list of mobile users:
Get-CASMailbox -Filter {hasactivesyncdevicepartnership -eq $true -and -not displayname -like "CAS_{*"} -ResultSize Unlimited;

This command gives me the device id for a user
Get-ActiveSyncDeviceStatistics –mailbox:USERNAME |fl DeviceID

This is the command i'm having an issue with, im not sure where to input the device id, can someone provide an example. since I only have 20 users, I can do this manually.

$DeviceIDs=@()
Get-ActiveSyncDeviceStatistics -Mailbox "MAILBOX NAME"|%{ $DeviceIDs+=$_.DeviceID } Set-CasMailbox "MAILBOX NAME" -ActiveSyncAllowedDeviceIDs $DeviceIDs

Thanks in advance for any help
0
Comment
Question by:stevebishop
1 Comment
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 40360132
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This video discusses moving either the default database or any database to a new volume.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question