Export (0) Print
Expand All

Get-ActiveSyncDeviceClass

 

Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2014-03-11

This cmdlet is available in on-premises Exchange Server 2013 and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.

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

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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.

Filter

Optional

System.String

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

  • DeviceType

  • DeviceModel

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ActiveSyncDeviceClassIdParameter

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

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

This parameter is reserved for internal Microsoft use.

SortBy

Optional

System.String

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.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft