Solved

Activesync Exchange 2010 change setting to quarantine

Posted on 2014-10-03
1
30 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
In this video we show how to create an email address policy 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 Mail Flow…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now