Home > Uncategorized > Real quick script: Get the first sync and last sync times of all ActiveSync devices

Real quick script: Get the first sync and last sync times of all ActiveSync devices

I was trying to figure out when a phone we have on a wireless account was activated to correlate it with the time another phone’s upgrade was “spent,” to see if it was possible that the upgrade for Phone B was “spent” on Phone A (I mean, we know Phone B wasn’t a new phone).

$UserList = Get-CASMailbox | Get-Mailbox
$temp = $UserList | foreach { Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity} | select identity,firstsynctime,lastsuccesssync,devicetype
$temp | sort firstsynctime | out-gridview
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: