Solved

Listing of Active Sync Devices Incomplete

Posted on 2012-03-26
7
959 Views
Last Modified: 2012-08-14
I'm looking for the correct command line to run within Exchange Management Shell that will give me a complete listing of all users that have devices using active sync.  I came back with an incomplete listing as it was not displaying users that I know have iphones.  I'm running the command on one of the 2 DAG servers within the environment.  When I run the command - get-activesyncdevicestatistics -mailbox: "alias" it confirms these users that do not displayin the listing are indeed connecting their iphones with active sync.

Thank you.
0
Comment
Question by:HudsonHealth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 8

Expert Comment

by:Elmar-H
ID: 37767280
0
 
LVL 43

Expert Comment

by:Amit
ID: 37767425
This will provide you more detail

http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx

Note: If you are getting error while running script. You need to set the execution policy to unrestricted.

set-executionpolicy unrestricted
0
 

Author Comment

by:HudsonHealth
ID: 37768488
I thank you both but I'm so lost.  New to Exchange 2010 and not well versed with command line.  The post by amitkulshrestha, I downloaded Log Parser 2.2. Do you I run command with Powershell and will get results in Log Parser?  I've also tried the first by Elmar and still an issue.  Would so appreciate if you can tell me what command line to run to get the stat info on devices.  Thaat is all right now I need to report.  Thank you.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 43

Accepted Solution

by:
Amit earned 500 total points
ID: 37768558
You need to user powershell.
first create folder c:\EASReports
open PS, browse to the path where you save it, say it's in your c:\script


then run

set-executionpolicy unrestricted

Then run

.\ActiveSyncReport.ps1 -IISLog "C:\inetpub\logs\LogFiles\W3SVC1" -LogparserExec “C:\Program Files (x86)\Log Parser 2.2\LogParser.exe” -ActiveSyncOutputFolder c:\EASReports -MinimumHits 1000 -HTMLReport

thats it
0
 
LVL 43

Expert Comment

by:Amit
ID: 37768564
Where you saved it, i mean this file

ActiveSyncReport.ps1
0
 

Author Comment

by:HudsonHealth
ID: 37768641
Thank you for spelling this out, appreciate it.  I will try and update you.
0
 

Author Comment

by:HudsonHealth
ID: 37771377
I ran script as instructed and in the file output I see:

No Active Sync information was found in the IIS Logs.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question