?
Solved

Activesync Exchange 2010 change setting to quarantine

Posted on 2014-10-03
1
Medium Priority
?
54 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

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

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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