Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1626
  • Last Modified:

Powershell Command to See Last Sync for Active Sync users?

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
jat0369
Asked:
jat0369
  • 2
1 Solution
 
jat0369Author Commented:
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
 
FDiskWizardCommented:
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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now