none
Enabling Quarintine Script to Add DeviceID to AllowedDeviceIDs RRS feed

  • General discussion

  • I am looking to enable quarantine on my 365/2010 Hybrid setup for over 5000 users.

    I have found the command to identify current device and add the device ID as an allowed Device ID - switch on quarantine and the device is automatically accepted:

    Get-MobileDevice -Mailbox MAILBOXNAME | FL *

    - Find DeviceID 

    Set-CASMailbox -Identity MAILBOXNAME -ActiveSyncAllowedDeviceIDs @{ add="DEVICEID1", "DEVICEID2"}

    I need a way to blanket this for all devices/user in the estate. My scripting isnt that great so any help would be appreciated.

    Many thanks,

    • Changed type Bill_Stewart Monday, March 12, 2018 8:20 PM
    • Moved by Bill_Stewart Monday, March 12, 2018 8:20 PM This is not "scripts on demand"
    Friday, January 19, 2018 10:14 AM

All replies