Solved

Powershell Command to See Last Sync for Active Sync users?

Posted on 2011-03-18
3
1,379 Views
Last Modified: 2012-05-11
I'd like to generate a quick CSV of all the users in my domain that have had a successfull activesync update. I think that will tell me how many people have connected a mobile device.

What's the quickest powershell command for something like this?
0
Comment
Question by:jat0369
  • 2
3 Comments
 
LVL 12

Expert Comment

by:FDiskWizard
ID: 35167544
0
 
LVL 1

Author Comment

by:jat0369
ID: 35168006
That's helpful, but I'm just looking for a single powershell command to pull the users. I really don't need all that much information ported to a db and queried.
0
 
LVL 12

Accepted Solution

by:
FDiskWizard earned 250 total points
ID: 35168396
The beginning just tells you how to export to CSV, and open in Excel.
The Database and graphs are icing... :)

Look at that link again... I believe that when you run the command, the resulting USERS.CSV file will be what you need. I think it will even do all logs present and combine results.

Get-ChildItem "C:\Windows\System32\LogFiles\W3SVC1" | Export-ActiveSyncLog –UseGMT:$true –OutputPath "C:\Temp\EASReports"
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A brief introduction to what I consider to be the best editor for PowerShell.
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…

809 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