Solved

Activesync Exchange 2010 change setting to quarantine

Posted on 2014-10-03
1
51 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 500 total points
ID: 40360132
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

728 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