Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-07-23
You can use the Shell to generate a compiled set of reports for Microsoft Exchange ActiveSync. The Export-ActiveSyncLog cmdlet compiles a set of Internet Information Services (IIS) logs and processes them to create a series of output files. Each file is a separate report that can help you understand your Exchange ActiveSync deployment.
Looking for other management tasks related to Exchange ActiveSync? Check out Managing Exchange ActiveSync.
You have read-only access to the directory that contains the IIS log files.
Use the Shell to generate Exchange ActiveSync reports
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync server settings" entry in the Client Access Permissions topic.
This example exports the Exchange ActiveSync log for the date range 06/08/09 to 06/09/09. The times on the report are in Coordinated Universal Time (UTC), and the report is saved in c:\exreports\easreports.
Export-ActiveSyncLog -Filename: "c:\Windows\System32\LogFiles\W2SVC1\ex060809.log" -StartDate:"06/08/09" -EndDate:"06/09/09" -UseGMT:$true -OutputPath:"c:\exreports\easreports"
For more information about syntax and parameters, see Export-ActiveSyncLog.