Applies to: Exchange Server 2013

This topic no longer applies to the cloud-based service. It applies only to on-premises Exchange 2013. To see the current version of the topic that applies to the cloud-based service, change the (v=exchg.150) value in the URL to (v=exchg.160).

Use the Get-ActiveSyncDeviceClass cmdlet to retrieve a list of mobile devices that have connected to the servers running Microsoft Exchange Server 2013 in an organization. The cmdlet returns the mobile device type and model information.

For information about the parameter sets in the Syntax section below, see Syntax.

Get-ActiveSyncDeviceClass [-Identity <ActiveSyncDeviceClassIdParameter>] [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-SortBy <String>]

This example returns a list of all devices with the DeviceType of PocketPC.

Get-ActiveSyncDeviceClass -Filter {DeviceType -eq "PocketPC"}

This example lists all device types within the organization along with a count of the number of devices of each type present.

Get-ActiveSyncDeviceClass | group-object -property DeviceType

You can use this cmdlet to view a list of mobile phones or devices by type. For example, you can return a list of all Android mobile digital devices in the organization or all Windows Phone devices in the organization.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Exchange ActiveSync settings" entry in the Clients and mobile devices permissions topic.


Parameter Required Type Description




This parameter is available only in on-premises Exchange 2013.

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.




The Filter parameter specifies the attribute by which to filter the data. The following attributes are supported:

  • DeviceType

  • DeviceModel




The Identity parameter specifies the group of devices on which to scope the task.




This parameter is reserved for internal Microsoft use.




The SortBy parameter specifies the attribute by which to sort the results. You can sort by only one attribute at a time. You can sort by the following attributes:

  • DeviceType

  • DeviceModel

The results are sorted in ascending order.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.