Solved

Powershell Command to See Last Sync for Active Sync users?

Posted on 2011-03-18
3
1,398 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create a Contact 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 Recipients >> Contact ta…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

830 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