The Get-EASDeviceReport.ps1 PowerShell script has been updated to V1.01.

This update includes the following changes:

  • Added SMTP parameters for emailing the report
  • Added an “age” parameter to set a threshold for last sync age
  • Numerous bug fixes and improvements

So now you can, for example, run a report that shows ActiveSync devices that have not attempted sync in the last 30 days, and have that report emailed to you as a CSV file.

get-easdevicereport-email

See more details and download the script here.

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.

Comments

  1. Meg

    I have 2 domains, I am wondering if it can list out the domains the users are in?

      1. Meg

        oh, I didn’t mention, powershell scripting is not my strong suit and confuses me… 🙂

  2. Mike

    Finally found it; but not through any link that was posted in any of the articles.
    Had to go to Member Tools/Resources to find it.

    You may want to make it more clear exactly how to obtain the script; I noticed other people wondering the same thing.

    It turned out to not be “hard” to find necessarily, but it was not intuitive in the least.

  3. Mike

    Where is the link to download the script?

    It’s got to be here, I see other people commenting on it..so they must have obtained it; but I’m just not seeing it anywhere on the page.

    The “download here” link just takes you to another page:
    https://www.practical365.com/powershell-script-activesync-device-report/

    And I don’t see any link on that page either.

  4. JohnIT

    Great script. Is there a way to get a list of devices that have only syncd in the last 30 days?

  5. Schenardie

    Yeah your right.. but i managed to work it with .addhours and a little modification on your script..

    Thanks Anyway Paul..

    very good script as i said before

  6. Schenardie

    Hey Paul, very nice script.

    I’m probably getting the date without time zone (is that correct??)

    how should i change to see the correct hours on my LastSyncAttemptTime and LastSuccessSync fields??

    Thanks Mate

  7. Keith K.

    Is there any negative affect (Server degradation, Etc.) with having a few old ActiveSync devices still associated to the users mailbox? Will the mailbox still try to sync to a device that is no longer active?

  8. David Taig

    Thank you for my Birthday present..

    I like to have a report of all devices with ‘Less than or equal’, so I updated line 152 and any text with ‘greater’ and change to ‘less’
    if ($syncAge -le $Age -or $syncAge -eq “Never”)

    Is it possible to also have a funtion to also remove Stale devices after the reporting including LastSyncAttempt -eq $Null with $_.FirstSyncTime -gt (Get-Date).AddMonths(-3)}

    Remove-ActiveSyncDevice -Confirm:$false

Leave a Reply