Suitable for: Exchange Server SP2, Exchange Server SP3
https://technet.microsoft.com/zh-cn/library/aa996908 (v=exchg.141). aspx
Use the Get-activesyncdevicestatistics cmdlet to perform the following actions:
Retrieves a list of mobile phones that are configured to synchronize with the specified user's mailbox.
Returns a list of statistical information about these mobile phones.
Get-activesyncdevicestatistics-identity <ActiveSyncDeviceIdParameter> [-domaincontroller <fqdn>] [- Getmailboxlog <switchparameter>] [-notificationemailaddresses <multivaluedproperty>] [- Showrecoverypassword <switchparameter>]
Get-activesyncdevicestatistics-mailbox <MailboxIdParameter> [-domaincontroller <fqdn>] [-getmailboxlog <switchparameter>] [-notificationemailaddresses <multivaluedproperty>] [-ShowRecoveryPassword < Switchparameter>]
Get-activesyncdevicestatistics The cmdlet returns a list of statistical information about each mobile phone. In addition, the command can retrieve logs and send them to recipients for easy troubleshooting.
Example 1
This example retrieves statistics for mobile phones that are configured to synchronize with user Tony Smith's mailbox.
Get-activesyncdevicestatistics-mailbox ZHANGWJ
Example 2
This example uses the Get-casmailbox cmdlet to determine which clients in your organization have Microsoft Exchange ActiveSync devices. Then retrieve the Exchange ActiveSync device statistics for each device.
$UserList = Get-CASMailbox -Filter hasactivesyncdevicepartnership -eq $true -and -not displayname -like "cas_{*"} | get-mailbox $UserList | Foreach { get-activesyncdevicestatistics -mailbox $_. Identity}
Example 3
This example retrieves statistics for mobile phones that are configured to synchronize with user Tony Smith's mailbox. It also outputs the Exchange ActiveSync log file and sends it to the system administrator [email protected].
Get-activesyncdevicestatistics-mailbox tonysmith-getmailboxlog $true-notificationemailaddresses "[email protected] "
This article is from the "Dermot W.J. Zhang Technical Notes" blog, so be sure to keep this source http://103703.blog.51cto.com/93703/1744808
Exchange gets a list of mobile devices for the specified user's mailbox synchronization