Solved

listing of all Exchange Activesync users along with devices sync

Posted on 2014-10-07
8
117 Views
Last Modified: 2014-11-04
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?


thanks
0
Comment
Question by:officertango
  • 4
  • 4
8 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40366909
Run the following PowerShell script:

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | ft DeviceFriendlyName, Devicetype, DeviceUserAgent
0
 

Author Comment

by:officertango
ID: 40366918
do i run this from CMD?
0
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40366924
On the Exchange server from a Powershell command
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:officertango
ID: 40367086
This is what I get when i run from exchange server
Capture.PNG
0
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40367235
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
0
 

Author Comment

by:officertango
ID: 40400958
Mohammed,
 Where can i find a list of all powershell command to run in the future. thanks for your help
0
 
LVL 25

Accepted Solution

by:
Mohammed Khawaja earned 500 total points
ID: 40401730
Your best bet is to run get-help and it will list the available commands.  Also refer to following links for more information:

http://www.microsoftvirtualacademy.com/training-courses/getting-started-with-powershell-3-0-jump-start
http://technet.microsoft.com/en-ca/scriptcenter/powershell.aspx
0
 

Author Closing Comment

by:officertango
ID: 40421881
na
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article runs through the process of deploying a single EXE application selectively to a group of user.
To show how to generate a certificate request 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 Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

777 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