Get-EASDeviceReport.ps1 icon indicating copy to clipboard operation
Get-EASDeviceReport.ps1 copied to clipboard

This PowerShell script produces a simple report of the ActiveSync device associates in an Exchange organization.

Get-EASDeviceReport.ps1

This PowerShell script produces a simple report of the ActiveSync device associates in an Exchange organization.

Synopsis

Get-EASDeviceReport.ps1 - Exchange Server ActiveSync device report

Description

Produces a report of ActiveSync device associations in the organization.

Outputs

Results are output to screen, as well as optional log file, HTML report, and HTML email

Parameters

  • -SendEmail, Sends the HTML report via email using the SMTP configuration within the script.
  • -Age, specifies the minimum number of days since last sync before including the device in the report. Default is 0 (all devices).

Examples

.\Get-EASDeviceReport.ps1

Produces a CSV file containing stats for all ActiveSync devices.

.\Get-EASDeviceReport.ps1 -SendEmail -MailFrom:[email protected] -MailTo:[email protected] -MailServer:smtp.exchangeserverpro.net

Sends an email report with CSV file attached for all ActiveSync devices.

.\Get-EASDeviceReport.ps1 -Age 30

Limits the report to devices that have not attempted synced in more than 30 days.

Credits

Written by: Paul Cunningham

Find me on:

  • My Blog: https://paulcunningham.me
  • Twitter: https://twitter.com/paulcunningham
  • LinkedIn: https://au.linkedin.com/in/cunninghamp/
  • Github: https://github.com/cunninghamp

Check out my books and courses to learn more about Office 365 and Exchange Server.