How to delete or remove mobile devices connected to Exchange Activesync List

Trick to delete or remove mobile device connected to exchange activesync.

Using Exchange OWA:

1. Login to your account using exchange owa
2. Goto Options > See All Options…
3. Select Phone. The Mobile Phones tab show a list of all exchange activesyncdevices connected to your account.
4. Select the device you want to remove and click Delete.


From Exchange server cmdlets:

Get-ActiveSyncDevice -ResultSize unlimited | Get-ActiveSyncDeviceStatistics | where {$_.LastSyncAttemptTime -lt (get-date).adddays(-60)} | out-gridview

It will show device list older than 60 days.

Get-ActiveSyncDevice -ResultSize unlimited| Get-ActiveSyncDeviceStatistics | where {$_.LastSyncAttemptTime -lt (get-date).adddays(-365)} | select-object guid | Out-File C:\Temp\list.txt

It will export device GUID that need to be delete.

Get-Content .\list.txt | Get-ActiveSyncDevice | Remove-ActiveSyncDevice

Once you have list for device to delete, run above code to delete / remove devices.


Microsoft Free eBooks – Year 2016

 Microsoft Free E-Books 

Introducing Windows Server 2016

  • Introducing Windows Server 2016
    John McCabe

  • Data Science with Microsoft SQL Server 2016
    Buck Woody, Danielle Dean, Debraj GuhaThakurta, Gagan Bansal, Matt Conners, Wee-Hyong Tok

  • Microsoft Azure Essentials: Fundamentals of Azure, Second Edition
    Michael S. Collier and Robin E. Shahan

  • Configuring Microsoft SharePoint Hybrid Capabilities
    Jeremy Taylor, Neil Hodgkinson, and Manas Biswas

  • Windows 10 IT Pro Essentials Support Secrets
    Ed Bott

  • Introducing Microsoft Power BI
    Alberto Ferrari and Marco Russo

Introducing Microsoft SQL Server 2016: Mission-Critical Applications, Deeper Insights, Hyperscale Cloud, Preview 2

  • Introducing Microsoft SQL Server 2016: Mission-Critical Applications, Deeper Insights, Hyperscale Cloud
    Stacia Varga, Denny Cherry, and Joseph D’Antoni

  • Microsoft Platform and Tools for Mobile App Development
    Cesar de la Torre and Simon Calvert

  • Microsoft Azure Essentials Migrating SQL Server Databases to Azure
    Carl Rabeler

  • Planning and Preparing for Microsoft SharePoint Hybrid
    Jeremy Taylor

  • Windows 10 IT Pro Essentials: Top 10 Tools
    Ed Bott

  • Creating Mobile Apps with Xamarin.Forms
    Charles Petzold

  • Deploying Windows 10: Automating deployment by using System Center Configuration Manager
    Andre Della Monica, Russ Rimmerman, Alessandro Cesarini, and Victor Silveira

  • Introducing Windows 10 for IT Professionals, Technical Overview
    Ed Bott

Free E-Book: Microsoft Press : Enterprise Cloud Strategy

  • Enterprise Cloud Strategy
    Barry Briggs and Eduardo Kassner

Courtesy: Microsoft Press
Find more training eBooks & books at The Microsoft Press Store.

Free ebook: Introducing Windows Server 2012 R2

Microsoft Free E-Book


This eBook consists of 108 pages which includes 6 detailed chapters on the following topics:

  • Chapter 1: Cloud OS
  • Chapter 2: Hyper-V
  • Chapter 3: Storage
  • Chapter 4: Clustering
  • Chapter 5: Networking
  • Chapter 6: Other enhancements


Other Free books you can download from here.

Free ebook: Rethinking Enterprise Storage: A Hybrid Cloud Model


Rethinking Enterprise Storage

This eBook consists of 120 pages which includes 7 detailed chapters on the following topics:

  • Chapter 1  Rethinking enterprise storage
  • Chapter 2  Leapfrogging backup with cloud snapshots
  • Chapter 3  Accelerating and broadening disaster recovery protection
  • Chapter 4  Taming the capacity monster
  • Chapter 5  Archiving data with the hybrid cloud
  • Chapter 6  Putting all the pieces together
  • Chapter 7  Imagining the possibilities with hybrid cloud storage

Other Free books you can download from here.