Get-ActiveSyncStatistics Exhcange 2007
When I run this cmdlet: Get-ActiveSyncStatistics -Mailbox testuser, the output is. I run this command command on 19/7/2011
FirstSyncTime : 25/5/2011 9:27:41 AM
LastPolicyUpdateTime : 8/7/2011 10:44:40 PM
LastSyncAttemptTime : 19/7/2011 3:47:50 PM
LastSuccessSync : 19/7/2011 3:47:50 PM
DeviceType : iPhone
DeviceID : Appl87110CJ8A4T
DeviceUserAgent : Apple-iPhone3C1/810.2
DeviceWipeSentTime :
DeviceWipeRequestTime :
DeviceWipeAckTime :
LastPingHeartbeat : 2046
RecoveryPassword : ********
DeviceModel :
DeviceIMEI :
DeviceFriendlyName :
DeviceOS :
DeviceOSLanguage :
DevicePhoneNumber :
It is possible to generate the history of last sync time back on 18/07/2011. I believ this user had access his IPHONE on 18/7/2011. Or else this cmdlet only provide the realtime synchronize result?
Please advice.
July 19th, 2011 5:21am
Hi,
You can use IIS log location and generate report to check this. Take help of below article.
http://www.simple-talk.com/sysadmin/exchange/reporting-on-mobile-device-activity-using-exchange-2007-activesync-logs/
http://technet.microsoft.com/en-us/library/bb123821(EXCHG.80).aspx
Anil MCC 2011,ITIL V3,MCSA 2003,MCTS 2010, My Blog : http://messagingschool.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2011 6:18am
Hi Anil,
Thank for the links. I had to open the activesync.log file from IIS and I not quite understand the meaning of its header:
#Fields:
date
time
s-ip
cs-method
cs-uri-stem
cs-uri-query
s-port
cs-username
c-ip
cs(User-Agent)
sc-status
sc-substatus
sc-win32-status
time-taken
7/7/2011
0:09:34
10.10.80.24
POST
/Microsoft-Server-ActiveSync/default.eas
User=dss&DeviceId=Appl85108PKJA4T&DeviceType=iPhone&Cmd=Ping&Log=V121_Sst123_Sst28_LdapC0_LdapL0_RpcC76_RpcL124_Hb1906_Erq1_Pk3429655108_S2_
443
113.210.127.119
Apple-iPhone3C1/810.2
200
0
0
659377
7/7/2011
0:09:37
10.10.80.24
POST
/Microsoft-Server-ActiveSync/default.eas
User=dss&DeviceId=Appl85108PKJA4T&DeviceType=iPhone&Cmd=Sync&Log=V121_Fc1_Fid:10_Ty:Em_Filt2_St:S_Sk:2100595856_Sst14_Srv:1a0c0d0s0e0r_LdapC1_LdapL0_RpcC51_RpcL93_Pk3429655108_S1_
443
113.210.127.119
Apple-iPhone3C1/810.2
200
0
0
281
July 21st, 2011 4:52am
Hi Suriya25,
Maybe this can help you to understand the IIS log:
Date
date
The date that the activity occurred.
Time
time
The time that the activity occurred.
Client IP Address
c-ip
The IP address of the client that accessed your server.
User Name
cs-username
The name of the authenticated user who accessed your server. This does not include anonymous users,
who are represented by a hyphen (-).
Service Name
s-sitename
The Internet service and instance number that was accessed by a client.
Server Name
s-computername
The name of the server on which the log entry was generated.
Server IP Address
s-ip
The IP address of the server on which the log entry was generated.
Server Port
s-port
The port number the client is connected to.
Method
cs-method
The action the client was trying to perform (for example, a
GET method).
URI Stem
cs-uri-stem
The resource accessed; for example, Default.htm.
URI Query
cs-uri-query
The query, if any, the client was trying to perform.
Protocol Status
sc-status
The status of the action, in HTTP or FTP terms.
Win32® Status
sc-win32-status
The status of the action, in terms used by Microsoft Windows®.
Bytes Sent
sc-bytes
The number of bytes sent by the server.
Bytes Received
cs-bytes
The number of bytes received by the server.
Time Taken
time-taken
The duration of time, in milliseconds, that the action consumed.
Protocol Version
cs-version
The protocol (HTTP, FTP) version used by the client. For HTTP this will be either HTTP 1.0 or HTTP
1.1.
Host
cs-host
Displays the content of the host header.
User Agent
cs(User-Agent)
The browser used on the client.
Cookie
cs(Cookie)
The content of the cookie sent or received, if any.
Referrer
cs(Referer)
The previous site visited by the user. This site provided a link to the current site.
Here are some related documents about Activesync log, hope can give you some help:
Generate some advanced ActiveSync Server usage stats using IIS Logs
http://blogs.technet.com/b/exchange/archive/2005/03/28/403047.aspx
Exchange 2003 - Active Sync reporting
http://blogs.technet.com/b/exchange/archive/2006/02/14/419562.aspx
Thanks,
Evan
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2011 6:43am