• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

Exporting ActiveSync Report Data

Ok, I worked to get CSV files exported by running a command within Exchange PowerShell.  I had difficulty at first even get the command to run without errors, but after several tries, I found my errors and am not getting the files.  However, my files have no data in them.  Why?  If I manually open the log file I'm running my command script on, there is plenty of data in it.  Not sure what I can do to ensure my data truly does get extracted out properly.  I just want the Users.csv file to populate correctly.  It is formatted correctly with headers, etc.  Just no data.
  • 2
1 Solution
Are you sure the log file is the right one?  Open it up and search of ActiveSync

It took me a while to get the right IIS virtual directory.

Also just try the command below, it worked for me
Export-ActiveSyncLog -Filename "c:\inetpub\logs\LogFiles\W3SVC2\u_ex100109.log" -OutputPath c:\temp

Open in new window

akdreamingAuthor Commented:
I'll give it a try.  I'm fairly certain I have the correct log file.  I did open it up and I do see Active-Sync listed all throughout the log, can search for my own user name within the log file successfully as well as others who I know are using mobile devices to connect in.  Looks like your script is just a bit different than mine in that you are going to c:\temp.  Correct?  
akdreamingAuthor Commented:
Hey....I used your script and it worked great.  Guess going to C:\Temp is all it took.  My logfile folder name is different than yours, but that didn't make a difference.  I got what I wanted!  Thanks for the help!

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now