Listing of Active Sync Devices Incomplete

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Elmar KoschkaSenior System EngineerCommented:
AmitIT ArchitectCommented:
This will provide you more detail

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

set-executionpolicy unrestricted
HudsonHealthAuthor Commented:
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.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

AmitIT ArchitectCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AmitIT ArchitectCommented:
Where you saved it, i mean this file

HudsonHealthAuthor Commented:
Thank you for spelling this out, appreciate it.  I will try and update you.
HudsonHealthAuthor Commented:
I ran script as instructed and in the file output I see:

No Active Sync information was found in the IIS Logs.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.