Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Latest commit

 

History

History
46 lines (26 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.47 KB

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:exchangeserver@exchangeserverpro.net -MailTo:paul@exchangeserverpro.com -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:

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