Remove old Active sync Partnerships from Environment

This script will find all activesync device partnerships for particular mailbox or set of mailboxes or all mailboxes that are older than x number of days. It can then either generate report only using -ReportOnly parameter OR remove them from organization along with report.

 
 
 
 
 
2.9 Star
(8)
2,945 times
Add to favorites
Exchange
8/7/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Remove Active sync Partnerships and delete the device
    1 Posts | Last post April 15, 2018
    • How can block and remove ActiveSync devices in bulk (based on DeviceUserAgent)
      
      The powershell below is just for the concept, how can I incorporate them properly to work.
      
      Import-CSV “C:\temp\ActiveSYNC.csv” | foreach Get-ActiveSyncDevice | where {$_.DeviceUserAgent -notcontains RIM*, WorxMail*} -ActiveSyncBlockedDeviceIDs && Remove-ActiveSyncDevice
  • Exchange 2013
    1 Posts | Last post October 09, 2014
    • Can you provide this script adapted for 2013?