?
Solved

listing of all Exchange Activesync users along with devices sync

Posted on 2014-10-07
8
Medium Priority
?
122 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 2000 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

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

This article describes Top 9 Exchange troubleshooting utilities that every Exchange Administrator should know. Most of the utilities are available free of cost. List of tools that I am going to explain in this article are:   Microsoft Remote Con…
Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

621 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