listing of all Exchange Activesync users along with devices sync

I am running exchange 2007 enterprise, I ned to generate a report for all activesync users along with type of device being sync. Can someone tell me how to accomplish this?

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.

Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Run the following PowerShell script:

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | ft DeviceFriendlyName, Devicetype, DeviceUserAgent
officertangoAuthor Commented:
do i run this from CMD?
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
On the Exchange server from a Powershell command
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

officertangoAuthor Commented:
This is what I get when i run from exchange server
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
What you need to do is click on Start, Microsoft Exchange Server 2007, Exchange Management Shell.  This will launch PowerShell with Exchange modules already loaded.  Run the following and then look at file c:\activesyncdevices.txt

Get-Mailbox -resultsize unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | ft identity, Devicetype, DeviceUserAgent | out-file c:\activesyncdevices.txt
officertangoAuthor Commented:
 Where can i find a list of all powershell command to run in the future. thanks for your help
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Your best bet is to run get-help and it will list the available commands.  Also refer to following links for more information:

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
officertangoAuthor Commented:
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
Active Directory

From novice to tech pro — start learning today.