[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

Retrieving ActiveSync logs from Exchange

I'm looking to run the Users.csv report from Exchange command shell and am having some difficulties.  Basically at the prompt, I'm typing Export-ActiveSyncLog and hitting return.  When I do this, I get a error stating it could not find the find.  By default, where are these logs kept?  I think I need to enter the command withe filename and path to whereever the logs are found.  In a nutshell, I'm trying to run a report on current mobile device ActiveSync users.  If I understand it right, these logs are created from the IIS Web server?
0
akdreaming
Asked:
akdreaming
  • 3
  • 2
2 Solutions
 
Alan HardistyCommented:
What version of Windows / Exchange are you using?
Activesync uses HTTPs, so you will need to look in the c:\windows\system32\logfiles\w3svc1 directory if using Windows 2003
0
 
akdreamingAuthor Commented:
No using Windows 2008 and I have found the logfiles in C:\inetpub\logs\logfiles\W3SVC1.  However, if you could, check out the error I am getting in Exchange PowerShell when I try to run my script.  What am I doing wrong?
Export.jpg
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
Alan HardistyCommented:
As per http://technet.microsoft.com/en-us/library/bb629653(EXCHG.80).aspx

Does the account you are running the command from have the Exchange Recipient Administrator Role?
0
 
akdreamingAuthor Commented:
Yes.  I'm looking into a log parser now which looks very promising.
0
 
akdreamingAuthor Commented:
To me, the log parser doesn't work very well, especially if you aren't script oriented very well.  I can get by but seems like more more than necessary.  I finally did get some results from Alanhardisty's post.  The script ran fine with no errors and produced a total of six files for me in the directory I told it to put them in.  See screen shot I have attached.  My issue now is, there is no data in the files.  For example, I was hoping the Users.csv would give me the users I was looking for to determine who in fact is using mobile devices to connect to their mailbox.  The Users.csv file was created with pertinent headers, etc., but not actual data.  Any clues Alanhardisty?
syntax.jpg
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

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